PDA

View Full Version : Avoid screen scroll in DD



danikenan
16 Aug 2009, 6:01 AM
Hi,

I have implemented drag and drop between several dataviews scattered around the screen.
When dragging, I show the items dragged in the html of the ddel, much like in the example.
However, when the user drags her mouse outside the visible window size, the screen is scrolled to follow the mouse and dragged html. I want to avoid this scrolling and ensure that
the dragging is confined to the visible area and that no scrolling is done.

If I just add overflow: hidden to the content wrapper/body, the scrolling still occurs, I just do not get the scrollbars.

Can anyone help?

10x

Dani