PDA

View Full Version : Prevent "bubbling" when scrolling window widget.



green
12-08-2011, 09:38 AM
:: DHTML Window widget (v1.1)

http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm

I'm using the above window widget iframe and it is scrollable. When the scroll reaches its extreme end it "bubbles" over (I believe it's called) to the main page, which begins to scroll. I'd like to prevent that from happening.

I could use:

onMousewheel="self.focus(); return false;" in the iframe body but it's a bit confusing for the user to have the mousewheel disabled and resort to dragging the scroll bar.

Can somebody help out?