0
谁可以帮助我使这个画廊autorotate?Jquery工具可滚动自动旋转
jQuery的工具滚动
http://flowplayer.org/tools/demos/scrollable/gallery.html
非常感谢!
维克
谁可以帮助我使这个画廊autorotate?Jquery工具可滚动自动旋转
jQuery的工具滚动
http://flowplayer.org/tools/demos/scrollable/gallery.html
非常感谢!
维克
我认为你必须自己一个计时器做,这样的事情应该这样做:
function auto_next() {
$('#scroller').data('scrollable').next();
setTimeout(auto_next, 1000); // 1000 == one second
}
auto_next();
您也可以使用setInterval
但后来你会运行的风险,你的定时事件超越对方。
参考文献: