![]() |
Animate jquery ui slider handle to specific value on pageload
I'm having problems getting a slider to animate to a certain value. The value is within the handle. I want the handle to automatically move on pageload to a specific value. The value has to increment up to the value though.
I've created a script in where I'm animating the handle but I can't get the values to increment accordingly. Here is my current script. Slider1: Code:
$("#slider1").slider({Any help would be greatly appreciated. Cheers. |
Can you please provide a full example, preferably a "working" version on jsfiddle? I just tried setting this up and besides update() not being defined and it looking not exactly nice – I do see the animation from 100 to 200.
|
Quote:
Thanks, Jonny |
Ok, I got this to work, although the animation isn't smooth.
Code:
$("#slider1").slider({Cheers, Jonny |
| All times are GMT +1. The time now is 05:52 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.