Hello ...

if I try to set the values of the two handles in my slider
using .slider('option', 'values', [X,Y]) it isn't taking
automatically.  Instead what I find is that the next time I touch one
of the handles, the other handle snaps to where it should be.  Is
there a way to have the handles actually move to match their new
values?  I'm including code that demonstrates what I'm talking about
(on linux, ff3.0.7)

<link type="text/css" href="/home/foo/jqueryUI/1.7/css/cupertino/
jquery-ui-1.7.custom.css" rel="Stylesheet" />

<script type="text/javascript" src="/home/foo/jqueryUI/1.7/js/
jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="/home/foo/jqueryUI/1.7/js/jquery-
ui-1.7.custom.min.js"></script>
<script type="text/javascript">
<!--
    $(document).ready(function() {
       $('#test').click(function() {
            $('#theSlider').slider('option', 'values', [25,75]);
       });

       $('#theSlider').slider({
               range: true,
               values: [0, 100]
       });
    });
-->
</script>

<input type="submit" id="test" value="push me"></input>
<div id="theSlider"></div>

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