JQuery Two colour slider control automatic move

Posted by Geetha on Stack Overflow See other posts from Stack Overflow or by Geetha
Published on 2010-03-24T09:01:01Z Indexed on 2010/03/24 9:03 UTC
Read the original article Hit count: 209

Filed under:
|

Hi All,

I creating a slider control with two colours for media player streaming.

Working: i can drag/ move the slider.

Needs: I want to move the slider automatically.(1. Once the control is ready and 2. After changing the position of the slider, from that position it has to move automatically)

Code:

        var slider1 = new Control.Slider('handle1', 'track1', {
            animate: true,
            range: $R(0, 10),
            max: 10,
            min: 0,
            sliderValue: 5,
            startSpan: 'span1',
            onChange: function(v) { handleSliderChange(v); }
        });

Plugins:

    <script src="js/prototype.js" type="text/javascript"></script> 
    <script src="js/slider.js" type="text/javascript"></script> 

Geetha.

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about slider