ipad Javascript 滑块
我正在寻找使用 JavaScript 为 iPad 创建一个滑块/滚动条。我使用 JQuery UI 创建了一个,但 iPad 不支持它。 我希望创建一些简单的东西,用户可以沿着轨道左右拖动图像。我到处寻找一些关于如何做到这一点的简单见解,我发现的只是教程或 jquery 插件的链接。 我不确定我是否可以使用 jquery-mobile 的内置滑块,因为我有特定的图像要使用,而且它看起来不像可以换肤。 欢迎任何帮助。
I'm looking to create a slider/scroller with javascript for the iPad. I created one using JQuery UI, but it's not supported on iPad.
I'm looking to create something simple, where the user can drag an image left and right along a track. I've looked all over the place for some simple insight on how to do that, all I find are tutorials or links to jquery plugins.
I'm not sure I can use the built-in slider from jquery-mobile, as I have specific images to use, and it doesn't look like it can be skinned.
Any help is welcome.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
jQuery Tools Scrollable 适合 iPad/触摸屏。
作为示例,请查看我使用 jQuery 工具构建的 trekk.com(适用于 iPad)上的自定义可滚动滑块。
jQuery Tools Scrollable is iPad/touch friendly.
As an example, checkout the custom scrollable slider on trekk.com (works on iPad) that I built with jQuery Tools.
我最近使用了一个名为 Flexslider (http://flex.madebymufffin.com/) 的插件,它支持在 iOS 上的图像之间滑动。
I recently used a plugin called Flexslider (http://flex.madebymufffin.com/) that supports swiping between images on iOS.