Skip to main content

Search and Top Navigation

#3703 closed bug (fixed)

Opened December 29, 2008 04:42PM UTC

Closed January 02, 2009 02:23PM UTC

'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...

Attachments (0)
Change History (2)

Changed December 29, 2008 04:47PM UTC by vladm comment:1

This bug occurs in 1.6rc2 version too.

Changed January 02, 2009 02:23PM UTC by scottgonzalez comment:2

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
});