0

我刚刚安装了 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谢谢!

4

1 回答 1

1

这是我的样子

$(document).ready(function () {  //this is jQuery's "on Load" event
        $("#featured > ul").tabs({ fx: { opacity: 'toggle'} }).tabs("rotate", 5000, true);
    });
于 2011-12-07T20:33:48.920 回答