Hi, I’m using a slide in a floating div to scroll through
overflow
content of another div and everything works fine so far. Now, I have a
resize handle on the floating div so that the window is resizeable and
therby also the slider track change height when the div change height.
So… when finished resizing the div I dispose the slider and
creates a
new one:
help_floaters.id_10.dispose();
help_floaters.id_10 = new
Control.Slider(’help_floater_slide_handle_10′,
‘help_floater_slide_track_10′, {
axis: ‘vertical’,
onSlide: function(v) { scrollVertical(v, $
(’help_floater_dynamic_content_body_10′),
help_floaters.id_10); },
onChange: function(v) { scrollVertical(v, $
(’help_floater_dynamic_content_body_10′),
help_floaters.id_10); }
});
And it works fine… well almost… when releasing the drag
handle the
content of the overflowed div remains scrolled and fine but the drag
handle snaps back to the top position of the track when the mouse
button is released. Any clues what might go caue this?
A video describing my problem more visually is available here:
http://brattoo.com/handle_snaps_back.mov
on 2008-06-13 08:29