I am trying to put together a small application where i can swipe anywhere on the screen.
This was all ok until I wanted to add an iframe to a section of the page. I want to be able to be able to know when a swipe has occured when people are over this area. Is this possible?
So an idea where #box is the swipeable area
<div id="box">
<div id="left">
<h1></h1>
<p> this is some text</p>
</div>
<div id="right">
<iframe src="anyurl" frameborder="0" height="430"></iframe>
</div>
I have put together a basic jsfiddle that might help show what I mean
personally I would use a div to cover the iframe.
NB: if you need to be able to click or scroll or click inside the iframe then, you should capture the scroll or click event on this cover and apply it to the iframe.