ipad Javascript 滑块

发布于 2025-01-03 14:43:19 字数 217 浏览 1 评论 0原文

我正在寻找使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

北方。的韩爷 2025-01-10 14:43:19

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.

冷了相思 2025-01-10 14:43:19

我最近使用了一个名为 Flexslider (http://flex.madebymufffin.com/) 的插件,它支持在 iOS 上的图像之间滑动。

I recently used a plugin called Flexslider (http://flex.madebymufffin.com/) that supports swiping between images on iOS.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文