Hi there,
I'm trying to get my slider start position to be anything other than in the
far left. Here is my code:
$('.myClass').slider({
min: 1,
max: 10,
startValue: 5,
change: function (ev, ui) {
alert(ui.value);
},
});
It does indeed have a start value of 5 but I would expect the handle to
actually be in position 5 (half way down the slider). I can force the issue
by setting the position of the handle using CSS but this seems like an
awfully complex thing to calculate (especially if I want to set it
dynamically when the page loads).
Hope somebody can help.
--
View this message in context:
http://www.nabble.com/slider-start-position-tp20406003s27240p20406003.html
Sent from the jQuery UI Discussion mailing list archive at Nabble.com.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---