Closed lakario closed 10 years ago
@lakario, not sure if this will fix your problem, but you're missing the event argument on those callback functions:
$('body').on('swiperight', function(e) {
Same to me, any idea?
Have you read the bit about detecting horizontal or vertical scroll and disabling one or the other? - http://stephband.info/jquery.event.swipe/#scroll
This library breaks page level scrolling on a mobile device when a swipe event is attached to the body (or window). It works fine on a desktop browser.
Example: http://www.nathantaylor.com/swipe.html