So far I have this:
$("#slider").slider({
orientation: "vertical",
range: "min",
animate: true,
min: 1,
max: 7,
value: 4,
change: function(event, ui) {
$("#amount").val(ui.value);
}
});
$('.slider-icon').click(function(e) {
var upDown = ($(this).attr('id') == 'up' ? 1:-1);
$("#slider").slider('value',
$("#slider").slider('value')+upDown);
});
How can I make it so that when they click on the up (or down) icon, it
animates the slide like it does when you click the bar, instead of
jumping to the notch?
--
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.