On my page I have iframe
that contains some div
s with scrollbars:
http://jsfiddle.net/gdx6L940/
The iframe
's content is from another domain, so I do not have access to its content via DOM.
How can I block mouse-wheel scrolling of the iframe
and its content? What I want to achieve is that mouse-wheel scroll will always scroll the parent page, even if the cursor is over the iframe
.
EDIT
I made a little bit more real-world example: http://jsfiddle.net/gdx6L940/2/
I want to prevent the inner iframe
's divs (facebok feed) from scrolling with mouse wheel.
EDIT
To make sure: I do not want to disable scrollbars on IFRAME element nor block all events completely. I would like to block only mouse-scrolls, but preserving the ability to click