Implementing swipe events with jQuery Mobile is really easy. This example shows how you can control the browsers back and forward buttons by swiping in the left or right direction.
With a body with id theBody,
<body id="theBody">
you can use the following piece of javascript to navigate back and forward using swipe events through the pages stored in the browsing history.
jQuery Mobile swipe through history
Implementing swipe events with jQuery Mobile is really easy.
This example shows how you can control the browsers back and forward buttons by swiping in the left or right direction.
With a body with id
theBody,you can use the following piece of javascript to navigate back and forward using swipe events through the pages stored in the browsing history.
You can view a demo here.