DragLib
Slider
DragLib Slider is the files drag.js and slider.js.
How it works
To create a slider,
call the method Slider.getInstance
that is defined in slider.js:
A slider object has a drag object instance.
Slider.getInstance(oElement, iDirection);
Where oElement is a relatively or absolutely
positioned element that represents the slider handle.
Features
- Horizontal or vertical sliders
- Useful methods and properties
rationalValue, slideToX,
slideToY, setValue,
ondragstop, ondragend,
ondragdrop
- Add an
onslide event handler to each Slider instance,
retrieve the rational value (0 to 1) of the slider,
and set the value of an associated form element.
- Mozilla1+/Netscape6+, MSIE 5+ Mac & Win, Safari
Support
All licenses for DragLib come with full support.
DragLib is not free. If you are interested in using DragLib, please see
the buy page.
Latest Updates