自动循环的 jQuery 手风琴和其他选项
有没有人有 jQuery 手风琴的演示,它可以自动循环内容并提供设置循环或循环次数的选项?
Does anyone have a demo of a jQuery accordion that cycles through content automatically with an option to set the number of loops or cycles?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
StackOverflow 有几个关于这个主题的问题。可以在这里找到一个这样的问题,如何添加自动-旋转到 jQuery 水平手风琴,它可能值得一读。
以下是您应该查看的其他一些来源:
http://www.madeincima.eu/samples/jquery/easyAccordion/
对于这个插件,您需要做的就是:
http://www.marghoobsuleman.com/jQuery-common-accordion?
我希望这有帮助。
StackOverflow has several questions on this topic. One such question can be found here, How to Add Auto-Rotation to a jQuery Horizontal Accordion, and it might be worthwhile reading through.
Here are some other sources that you should look through:
http://www.madeincima.eu/samples/jquery/easyAccordion/
for this plugin, all you need to do is:
http://www.marghoobsuleman.com/jQuery-common-accordion?
I hope this helps.
我建议您使用您最喜欢的 jquery 手风琴插件,并自己构建循环功能。这非常简单 - 请查看下面我的基于
setInterval
的答案。您可以看到那里有一些私有变量可以用来设置次数等。我两次回答了几乎相同的问题:
向动画可折叠 DIV 添加了计时器
模拟单击选项卡以在 jquery 中创建选项卡幻灯片
I suggest you use whatever jquery accordion plugin you like most, and build the cycling functionality yourself. It is very simple - check out my
setInterval
-based answers below. You can see there that there are private variables you could use to set the number of times etc.I twice answered something almost identical:
Added a timer to Animated Collapsible DIV
emulating tabs being clicked to create a slideshow of tabs in jquery