开发者

JQuery Two colour slider control automatic move

I am creating a slider control with two colours for media player streaming. [Covered portion with one color remaining with another]

Working: i can drag/ move the slider manually.

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:

    <scri开发者_如何学Pythonpt src="js/prototype.js" type="text/javascript"></script> 
    <script src="js/slider.js" type="text/javascript"></script> 

Edit:

Is there any other slider control with these qualities? 

Geetha.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜