Yes, it's a bug. Could you file here please http://ui.jquery.com/bugs/newticket (note: requires registration)
Thanks. - Richard On Thu, Mar 26, 2009 at 2:16 PM, Lee Perry <[email protected]> wrote: > > Hi, > > I'm using the current version of Slider (jQuery 1.3.2 and jQuery UI > 1.7.1) - I've initialized my Slider by following code: > var min = 2000; > var max = 2009; > > $("#slider").slider({ > animate: true, > min: min, > max: max, > change: function(event, ui) { > $("#timeline_years > li[class*='year']").removeClass("active"); > $("#timeline_years li.year"+ui.value).addClass("active"); > }, > slide: function(event, ui) { > $("#timeline_years > li[class*='year']").removeClass("active"); > $("#timeline_years li.year"+ui.value).addClass("active"); > }, > stop: function(event, ui) { > changeInfo(ui.value); > } > }); > > this works all fine inside the slider area. > BUT when I want to control the slider outside the slider area like: > > $("#outsideSlider").click(function(){ > $("#slider").slider('value',min); > }); > > My indicator will move directly to the choosen value, but without any > initialized option, that means no animation and no event function. > > So what can I do to get these information? > > I tried also to reinitialize all these options with: > $("#outsideSlider").click(function(){ > $("#slider").slider({ > animate: true, > min: min, > max: max, > value: min, > change: function(event, ui) { > $("#timeline_years > li[class*='year']").removeClass("active"); > $("#timeline_years > li.year"+ui.value).addClass("active"); > }, > slide: function(event, ui) { > $("#timeline_years > li[class*='year']").removeClass("active"); > $("#timeline_years > li.year"+ui.value).addClass("active"); > }, > stop: function(event, ui) { > changeInfo(ui.value); > } > }); > }); > > but it doesn't work either - no reaction, no moving, nothing. With $ > ("#slider").slider({'option',{...}); it will move, but also without > animation and without any event-function. > > Is it a bug - or what can I do? > > Thanx and greetings, > Lee > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
