This issue has been fixed:

http://jqueryui.com/docs/Changelog/1.7.1#Slider

http://dev.jqueryui.com/ticket/4292

You can download the the latest version (which includes the fix) here:

http://blog.jqueryui.com/2009/03/jquery-ui-171/

- Richard

On Thu, Mar 19, 2009 at 12:03 PM, [email protected] <[email protected]> wrote:

>
> I have a very simple slider and am pretty much using the demo
> settings. however I can not get it to use 0 as an option after moving
> the slider.  I am using a text input to display the slider value.
>
> Example:  Slider starts at zero, i move it up to 100, then move it
> back down to the ZERO spot but the value that shows in my text field
> stays 25.  so it goes   0,25,50,75,100 then i slide back down it does,
> 75,50,25,25. (no 0)
>
> if i change the min to -1.  it will start at -1,24,49,74,99 then i
> slide back down it does 74,49,24,-1.
>
> So -1 works but not 0.
> what am i doing wrong?
>
>
>
>        $(function() {
>                $("#slider-range-min").slider({
>                        range: "min",
>                        value: 0,
>                        min: 0,
>                        max: 250,
>                        step: 25,
>                        slide: function(event, ui) {
>                                $("#amount").val( ui.value);
>                        }
>                });
>                $("#amount").val($("#slider-range-min").slider("value"));
>        });
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to