Bug Tracker

Opened 16 years ago

Closed 15 years ago

#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:
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 (3)

comment:1 Changed 16 years ago by istvano

Sorry I have tested it in FF2

comment:2 Changed 16 years ago by paul

Owner: changed from paul to joern

comment:3 Changed 15 years ago by paul

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.