This version of the slider works with multiple handles, but currently 1 range at most. We're working to see how we might be able to support multiple ranges. So if you set the range option to true, it will only work with 2 handles.
It looks like you have 3 handles. Maybe just remove the range:true option? - Richard On Wed, Jan 21, 2009 at 10:23 AM, MetaYii <[email protected]>wrote: > > > especially under Section 3 "Functional Specifications/Requirements:" and > > subsection "Changes from 1.5, 1.6rc2 in refactor". This is still being > > migrated over to the end-user documentation page, > docs.jquery.com/UI/Slider. > > Thank you Richard, it worked for one, but when I include two or more > the handlers don't even move :( > > This is my markup: > > <input type="text" value="" name="x1" id="x1"/><br /> > <input type="text" value="" name="x2" id="x2"/><br /> > <input type="text" value="" name="x3" id="x3"/><br /> > <div style="width:200px;height:10px;" id="slider"><div class="ui- > slider-handle"></div><div class="ui-slider-handle"></div><div > class="ui-slider-handle"></div></div> > > This is my js code: > > $("#slider").slider({'min':-10,'max':10,'range':'true','step': > 1,'animate':'false','values':'[-10,0,10]',slide: function(e,ui) { $ > ("#x1").attr("value", $("#slider").slider("values", 0));$("#x2").attr > ("value", $("#slider").slider("values", 1));$("#x3").attr("value", $ > ("#slider").slider("values", 2)); }}); > $("#slider").slider("values", 0, -10); > $("#slider").slider("values", 1, 0); > $("#slider").slider("values", 2, 10); > > Thanks for your help. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
