你知道,我正在寻找一种方法,可以通过JS处理的鼠标拖动(我们从几个滑块插件中知道的那样)来移动项目,它也可以在iPhone和iPad浏览器上工作?
希望任何人都能帮助我。非常感谢!
发布于 2010-07-12 18:31:47
我自己从来没有尝试过,但你应该能够使用iphone和ipad上的特殊safari事件,比如touchstart,touchmove和touchend。
来自苹果的描述:https://developer.apple.com/library/content/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/InteractiveControl/InteractiveControl.html#//apple_ref/doc/uid/TP40008032-CH3-SW3
https://stackoverflow.com/questions/3227514
相似问题