View Full Version : Dragging and Overflow problem???

02-04-2007, 08:54 PM
Draging items causes scrollbars to appear.

On this pages code when you drag an item beyond the right or bottom edge of screen scroll bars appear on both IE and Firefox. http://www.dynamicdrive.com/dynamicindex11/domdrag/example.htm

but on this eyeos demo http://eyeos.org/demo/ when you pop open an item and drag it past edge of screen. there is no scrollbars.

Anyone know how they are doing this?

02-04-2007, 09:05 PM
They set overflow:hidden; to the body and html elements so no scrollbars will ever appear.

02-04-2007, 09:15 PM
Thanks. I was just putting it on body. I never thought about html.

Although it gets rid of scroll bars it still scrolls background image some.

02-05-2007, 02:39 AM
Make the background image fixed and it won't scroll.