Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Horizontal scroll - Mobile - swipe?

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

like image 702
Dancer Avatar asked Sep 07 '11 16:09

Dancer


2 Answers

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

like image 77
Jasper Moelker Avatar answered Nov 01 '22 23:11

Jasper Moelker


Actually, there is such carousel controlled by swipe gestures. But it's commercial - http://dimsemenov.com/plugins/touchcarousel/ or this one.

like image 3
Marvin3 Avatar answered Nov 01 '22 23:11

Marvin3