I am using jquery library from this link: http://www.netcu.de/jquery-touchwipe-iphone-ipad-library
With this code:
$("#form-iframe").touchwipe({
wipeLeft: function() { alert("left"); },
wipeRight: function() { alert("right"); },
wipeUp: function() { alert("up"); },
wipeDown: function() { alert("down"); },
min_move_x: 20,
min_move_y: 20,
preventDefaultEvents: true });
Working great almost on every page of the website beside one page that primary an iframe object. Like this :
<iframe id="form-iframe" src="match.php?p=<?php echo $phone ?>" style="margin:0; width:100%; height:550px; border:none; overflow:hidden; margin-bottom: -30px;" scrolling="no" onload="AdjustIframeHeightOnLoad()"></iframe>
My thought that It cannot capture gesture inside the iframe code because it does not "really" belong to my own website code even tho I am framing my own site URL.. Any ideas if it possible to bypass that ?