medienPARK Logo

medienPARK | MooTools Skripte

[ Back | Overview | Docs | Demo | Download ]

DoubleSlider

DoubleSlider is a Script to give you a Slider Component with two knobs instead of one. It provides horizontal and vertical Sliding.

Screenshot

How to use

The best way to use the DoubleSlider is to initialize it onDomReady. The first argument is the DoubleSliders "container" which contains the knobs. Options can be given as the second argument.

DoubleSlider also provides start, drag, and complete events.

Javascript

var doubleslider = new DoubleSlider(
  'doubleslider',
  {
    range: [0, 8],
    start: [1, 7]
  }
);

For specific usage and options, please read the documentation or visit http://moo.medienpark.net/DoubleSlider/