Skip to content
Advertisement

Tag: mousewheel

Prevent parent page from scrolling when mouse is over embedded iframe in Firefox

…without limiting the scroll inside the iframe or the need to specifically name/tag all scrollable elements. Imagine google maps widget embedded in parent page. When you zoom in the widget you don’t want the parent page to scroll, obviously. I thought an answer to my previous question solved the problem: While scrolling inside an iframe, the body doesn’t know anything

Advertisement