【发布时间】:2011-07-25 15:20:46
【问题描述】:
我试图让jQuery Slider 在 iPad 上工作,但每次尝试都失败了! 请问有人知道怎么做吗?非常感谢提前:)
【问题讨论】:
我试图让jQuery Slider 在 iPad 上工作,但每次尝试都失败了! 请问有人知道怎么做吗?非常感谢提前:)
【问题讨论】:
添加“Touch Punch”插件将为当前的 jQuery UI 插件添加触摸支持:http://touchpunch.furf.com/
【讨论】:
尝试使用 jQuery mobile 而不是 jquery UI - jQuery mobile 是专门为基于触摸的设备而设计的。
您可以在此处查看滑块功能: http://jquerymobile.com/demos/1.0b1/#/demos/1.0b1/docs/forms/forms-slider.html
【讨论】:
查看 idevices 的 touchstart、touchend 和 touchmove 事件。来看看
How do I make a JQuery Slider-like feature on iPhone/Android web app?
【讨论】: