我一直在图像库[html5]上工作,它在桌面版本中运行良好我想为Ipad/Tablet设备添加基于触摸的事件.
你能否建议如何使用javascript/jquery添加基于触摸的事件.
谢谢,Srinivas
这个 jQuery 插件运行良好。http://www.netcu.de/jquery-touchwipe-iphone-ipad-library 易于使用。前任:
$('.slideshow').touchwipe({
wipeLeft: function() {$('.slideshow').cycle('next');},
wipeRight: function() { $('.slideshow').cycle('prev');},
min_move_x: 60
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
16689 次 |
| 最近记录: |