在 jQuery 选项卡幻灯片上设置自动播放
我刚刚安装了 jQuery Tabs 幻灯片插件并希望它能够自动播放。然而,当我放入自动播放选项时,它的表现非常不均匀,根本不像手动按下播放按钮时那样。
<script language="JavaScript">
$(function() {
$(".slidetabs").tabs(".images > div", {
// enable "cross-fading" effect
effect: 'fade',
fadeOutSpeed: "slow",
// start from the beginning after the last tab
rotate: true
// use the slideshow plugin. It accepts its own configuration
}).slideshow({autoplay:true});
});
</script>
我是否正确输入了自动播放代码?这是文档。 http://flowplayer.org/tools/tabs/slideshow.html 谢谢!
I've just installed the jQuery Tabs slideshow plugin and would like it to autoplay. However, when I put in the autoplay option, it performs very unevenly, not at all like when the play button is pressed manually.
<script language="JavaScript">
$(function() {
$(".slidetabs").tabs(".images > div", {
// enable "cross-fading" effect
effect: 'fade',
fadeOutSpeed: "slow",
// start from the beginning after the last tab
rotate: true
// use the slideshow plugin. It accepts its own configuration
}).slideshow({autoplay:true});
});
</script>
Have I put the autoplay code in correctly? Here is the documentation. http://flowplayer.org/tools/tabs/slideshow.html Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是我的样子
Here is how mine looked