Horizontal scroll - Mobile - swipe?

Dancer picture Dancer · Sep 7, 2011 · Viewed 41.8k times · Source

Can anyone please recommend the best way to trigger a horizontal Jquery scroller using swipe gesture?

We have a working web version which we would like to implement onto our Android site, but dont know the best way to approach this.

We basically want to use a scrolling list similar to these examples (http://caroufredsel.frebsite.nl/) triggered via swipe gesture?

Any advice or alternate versions gratefully received.

Cheers Paul

Answer

Jasper Moelker picture Jasper Moelker · Nov 12, 2011

I would suggest the excellent jQuery TouchSwipe Plugin by Matt Bryson: http://labs.skinkers.com/touchSwipe/. This plugin offers advanced control over direction and distance: http://labs.skinkers.com/touchSwipe/demo/advanced_2.php

An all inclusive alternative would be http://www.photoswipe.com/

similar question: Calculate swipe distance in jQuery-mobile