...

View Full Version : Dragging and Overflow problem???



darkcyde
02-04-2007, 07: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?

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

darkcyde
02-04-2007, 08: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.

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

background-attachment:fixed;



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum