Is there a simple JavaScript slider?

I need to create a custom volume slider for a WMP object. The current slider is difficult to modify and use, is there an easy way to generate a slider on an HTML page that can pass this value to the javascript function?

+43
javascript controls slider wmp
Oct 06 '08 at 2:21
source share
14 answers
+29
Oct. 06 '08 at 2:24
source share

Hey, I just created my own JS slider because I had a fairly large JQuery UI. It is interesting to hear people's thoughts. Was on it for 5 hours, so really really early stages.

jsfiddle_slider

+34
Dec 05 2018-12-12T00:
source share

HTML 5 with Webforms 2 provides <input type="range"> , which forces the browser to create its own slider for you. Unfortunately, all browsers do not have support, however google has implemented all Webforms 2 controls using js. IIRC js is smart enough to know if the browser has implemented this control and only starts if there is no built-in implementation.

From my point of view, it should be considered best practice to use the built-in browser controls when possible.

+19
Oct 06 '08 at 11:07
source share

Simple slider: I just tested it in pure HTML5 and so easy !

 <input type="range"> 

It works like a charm for Chrome. I have not tested other browsers yet.

+16
Feb 01 '13 at 10:27
source share

jQuery and Yahoo are probably standards, but I recently found Dragdealer that looks very lightweight and easy to set up and reuse ...

http://code.ovidiu.ch/dragdealer/

+10
Jul 13 2018-11-11T00:
source share

Here is another bright JavaScript Slider that seems to fit your needs.

+5
Apr 7 2018-10-22T00:
source share
+4
Oct 06 '08 at 10:38
source share

script.aculo.us has slider controls that may be worth checking out.

+3
Oct 6 '08 at 3:02
source share

The lightweight MooTools framework has one: http://demos.mootools.net/Slider

+2
Oct 06 '08 at 3:40
source share

I recommend Slider from the Filament group, it has a very good user interface

http://www.filamentgroup.com/lab/update_jquery_ui_slider_from_a_select_element_now_with_aria_support/

+2
Nov 02 2018-11-11T00:
source share

There is a good javascript slider, it is very simple to implement. You can download the zip package here: http://ruwix.com/javascript-volume-slider-control/


postscript here is a simplified version of the script:

enter image description here

DEMO link

+2
Jun 25 '12 at 18:50
source share

Here is a simple slider object for convenient use.

pagecolumn_webparts_sliders

+1
Dec 11 '09 at 14:53
source share

Carpe Slider also has newer versions:
v1.5 carpe_ambiprospect_slider v2.0b ... slider / drafts / v2.0 /

+1
Mar 30 '10 at 17:03
source share

The code below should be sufficient to get started. Tested in Opera, IE and Chrome.

 <script> var l=0; function f(i){ im = 'i' + l; d=document.all[im]; d.height=99; document.all.f1.t1.value=i; im = 'i' + i; d=document.all[im]; d.height=1; l=i; } </script> <center> <form id='f1'> <input type=text value=0 id='t1'> </form> <script> for (i=0;i<=50;i++) { s = "<img src='j.jpg' height=99 width=9 onMouseOver='f(" + i + ")' id='i" + i + "'>"; document.write(s); } </script> 
-one
Apr 30 2018-12-21T00:
source share



All Articles