Hi

I am having problems with the UI slider plugin. I have this HTML structure 
(bulilt with DOM):

<div id="hue" style="float: right; margin-top: 5px; 
                background-image: url(img/hue.png); width: 18px; height: 
186px;">
        <img id="hueSlider" src="img/handle.gif" style="left: 232px;"/>
</div>

Then I try to make a slider for the hue:

$('#hue').slider({
        minValue:0,
        maxValue:360,
        axis:'vertical',
        handle:'#hueSlider',
        startValue:360-h,
        start:function(){}
});

It works fine, but the slider always begins at the top of the page instead of 
the top of the containig div (selectColor_hueSlider). How can I convince 
slider() to work correctly?

Christof

Reply via email to