I looked at jquerymobile documentation and saw:
event for swipe, swipeleft and swiperight
is there a swipevertical event or similar ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately swipeup and swipedown don’t exist in jQuery mobile and they are not planed for version 1.3. There is an 3rd party plugin here: http://developingwithstyle.blogspot.com/2010/11/jquery-mobile-swipe-up-down-left-right.html. Use them like you would use normal events: swipedown and swipeup.
You can also use this plugin if you need this implementation: http://www.netcu.de/jquery-touchwipe-iphone-ipad-library. It also works on Android devices. This is a worst case scenario solution because unlike official event there ones don’t work on desktop browsers.
Here’s an working example, test it on mobile devices only: http://jsfiddle.net/Gajotres/WYnnk/