问题
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
回答1:
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
回答2:
Actually, there is such carousel controlled by swipe gestures. But it's commercial - http://dimsemenov.com/plugins/touchcarousel/ or this one.
来源:https://stackoverflow.com/questions/7337110/horizontal-scroll-mobile-swipe