Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#2556 closed bug (fixed)

UI.slider plugin

Reported by: istvano Owned by: joern
Priority: critical Milestone: 1.5
Component: ui.core Version: 1.2.3
Keywords: slider Cc:
Blocked by: Blocking:

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 (5)

comment:1 Changed 12 years ago by istvano

Sorry I have tested it in FF2

comment:2 Changed 12 years ago by paul

Owner: changed from paul to joern

comment:3 Changed 12 years ago by paul

Resolution: fixed
Status: newclosed

This is fixed. (Caution: The options were renamed to max/min)

comment:4 Changed 12 years ago by (none)

Milestone: 1.2.4

Milestone 1.2.4 deleted

comment:5 Changed 11 years ago by paul

Milestone: 1.5
Note: See TracTickets for help on using tickets.