![]() |
jquery mobile swipe issue (still works on desktop)
Hello,
I have a swipe function that works alright but the problem is that if you go back on to your desktop computer and do a quick swipe with the mouse (probably wouldn't happen very often in the real world) you get a swipe event. This is annoying! So, now I am wondering if I can use jQuery to detect the width of the screen and ignore the swipe if the width is above say 1024px. Any advice? Code:
$('#containerContainer').live("swipeleft", function(){ |
| All times are GMT +1. The time now is 10:58 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.