In the slide event, you can return false if ui.value does not fall within
some acceptable range:
$('#slider').slider({
range: true,
values: [15, 85],
slide: function(event, ui) {
return (ui.value >= 10);
}
});
- Richard
On Tue, Nov 17, 2009 at 2:56 AM, badtant <[email protected]> wrote:
> Hi!
>
> I'm currently trying the slider. I would like to have a range from 0
> to 100 for the slider but only 10 to 100 is possible to select. Is
> there any way to do this? Can't find any options for it.
>
> Thanks
> N
>
> --
>
> 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]<jquery-ui%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/jquery-ui?hl=.
>
>
>
--
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=.