Skip to main content

Bug Tracker

Side navigation

#2556 closed bug (fixed)

Opened March 19, 2008 02:48PM UTC

Closed May 04, 2008 11:37AM UTC

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

Attachments (0)
Change History (3)

Changed March 19, 2008 05:39PM UTC by istvano comment:1

Sorry I have tested it in FF2

Changed March 25, 2008 02:57PM UTC by paul comment:2

owner: pauljoern

Changed May 04, 2008 11:37AM UTC by paul comment:3

resolution: → fixed
status: newclosed

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