PDA

View Full Version : Problem dragging an object over scrollbar



cristysy
01-27-2006, 02:38 PM
I have a 'div A' (whose style.overflow = auto) containing an item or obj to be dragged and dropped to another 'div B'. I can drag the item in 'div A' but when it comes across div A's scrollbar, I couldn't drag it anymore, hence I couldn't drop it to 'div B'. I disabled div A's vertical scrollbar by setting its overflow to blank dynamically, and I was able to drag it across and drop it in div B. But it's not the correct solution since disabling the scrollbar causes div A to expand, destroying the layer design and layout. How can I drag an object over a scrollbar? Pls. help. Thanks!