Horizontal scroll - Mobile - swipe?

 ̄綄美尐妖づ 提交于 2019-11-29 08:32:04

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!