One thing worth to clarify is that this behaviour only occurs after
resize, it works fine before the resize which wasn't really crystal
clear in the video.

/Anders

On 13 Juni, 08:28, Anders Bjarby <[EMAIL PROTECTED]> wrote:
> 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 theslidertrack change height when the div change height.
> So… when finished resizing the div I dispose thesliderand 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
> handlesnapsback 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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to