Opened 14 years ago

Closed 14 years ago

#3703 closed bug (fixed)

'startValue' option or 'start' option of handler of ui slider has no any effect under Safari

Reported by: vladm Owned by:
Priority: major Milestone: 1.7
Component: ui.slider Version: 1.5.2
Keywords: startValue slider start Cc:
Blocked by: Blocking:

Description

I just put this in my html and run this code in Safari, but the handler was stayed on beginning of the slidebar:

    $("#width_slider").slider({
        min: 160,
        max: 640,
        startValue: 400
    });
<div id='width_slider' class='ui-slider' style="margin:10px;"><div class="ui-slider-handle"></div></div>

You can also see this 'effect' on the your demo. When page is loading, the second handler stayed on 0 instead of 100...

Change History (2)

comment:1 Changed 14 years ago by vladm

This bug occurs in 1.6rc2 version too.

comment:2 Changed 14 years ago by Scott González

Milestone: TBD1.6
Resolution: fixed
Status: newclosed

Slider has been refactored for 1.6rc3. The following code will do what you want now:

$('#width_slider').slider({
    min: 160,
    max: 640,
    value: 400
});
Note: See TracTickets for help on using tickets.