I use the swiperight and swipeleft events from jQuery Mobile. They work pretty fine on my desktop pc and on an iphone while developing but when I test it on my windows phone both events just don’t fire.
As simple as it seems to be:
<div class="swiper">Content</div>
and the Script
$(".swiper").swiperight(function(event){
alert('swiperight');
});
$(".swiper").swipeleft(function(event){
alert('swipeleft');
});
Same problem with $(“.swiper”).live(‘swipeleft swiperight’)
Does anyone have a solution for this? According to http://jquerymobile.com/blog/2012/08/01/announcing-jquery-mobile-1-2-0-alpha/ they have A-grade support for Windows Phone.
Unfortunately the Internet Explorer browser on Windows Phone doesn’t support touch events. This means that jQuery Mobile events for swipe do not work on Windows Phone. As far as I know, there is no solution or workaround, because the browser doesn’t fire the necessary events for detecting swiping motions.