Using swipe gestures to change pages in multi-page jQuery mobile application
问题 Is there a way to implement swipe gesture navigation on a jQuery Mobile multi-page template mobile website/application? I can put together a deadset easy construct as follows: $("body").bind("swipeleft", function(e) { $.mobile.changePage( 'about.html', { transition: "slide" }); But the moment I start using anchor tags (multi-page JQM style), the event does not work: $("body").bind("swipeleft", function(e) { $.mobile.changePage( '#points2', { transition: "slide" }); Is there a suitable