Ticket #2556 (closed bug: fixed)
UI.slider plugin
| Reported by: | istvano | Owned by: | joern |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.2.4 |
| Component: | ui | Version: | 1.2.3 |
| Keywords: | slider | Cc: | |
| Blocking: | Blocked by: |
Description
Hello,
I would like to re-program the slider once it has been created to support dynamic stepping,
sometimes I need 5 steps sometimes just 2 sometimes 20 steps on my slider:
I did the following as an example:
I create a slider:
this._slider = $("#slider").slider({
startValue:0, minValue: 0, maxValue: 9, stepping: 1,
});
It creates the slider, and works fine, later in my code,
I do the following:
this._slider.data("stepping.slider", 1); this._slider.data("minValue.slider", 0); this._slider.data("maxValue.slider", 4);
It still have 9 steps and, even if I check it later on with a new call what does the data holds, gives me back min:0, max: 4, stepping:1, but still the slider itself has 9 steps etc.
Thanks for any help,
Istvan
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Sorry I have tested it in FF2