问题描述
有人可以推荐使用滑动手势触发水平Jquery滚动条的最佳方法吗?
Can anyone please recommend the best way to trigger a horizontal Jquery scroller using swipe gesture?
我们有一个可运行的网络版本,我们希望将其实施到我们的Android网站上,但不知道实现此目标的最佳方法.
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.
我们基本上希望使用类似于这些示例的滚动列表( http://caroufredsel.frebsite.nl/)是通过滑动手势触发的吗?
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.
欢呼保罗
推荐答案
我建议使用Matt Bryson出色的jQuery TouchSwipe插件: http://labs.skinkers.com/touchSwipe/.此插件可提供方向和距离的高级控制: http://labs.skinkers.com/touchSwipe/demo/advanced_2.php
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
一个全面的替代方案是 http://www.photoswipe.com/
An all inclusive alternative would be http://www.photoswipe.com/
类似的问题:计算jQuery-mobile中的滑动距离
这篇关于水平滚动-移动-滑动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!