I still don't fully understand Scroller probably!?

I'm trying to limit posts to this group, but this project is killing
my brains ;) in some areas..

I have a collection of draggable elements which can be dropped on
droppable elements. For the example I have a droppable at the top of
the div.

You get the idea: you're at the bottom of the screen/containing div,
and you need to drag the element all the way to the top to drop it.
Therefore it should scroll up.

If I put everything in the main window and tell Scroller to make
document.body the scrollable element this all works.
Demo: http://www.wouterverhoeven.com/temp/drag-scroll-test.html

I have a problem when the element to scroll is not the document.body
but a container div element, like when you use Squeezebox.
It makes sense to me to make "sbox-content" the scrollable element.
However.. this doesn't work. Anyone?

Test: http://www.wouterverhoeven.com/temp/drag-scroll-test-squeeze.html
The page it loads in the squeezebox: 
http://www.wouterverhoeven.com/temp/drag-scroll-test2.html

Reply via email to