
原文:https://stackoverflow.com/questions/29180927
更新时间:2021-06-22 13:06
您使用的插件不提供自动播放功能检查文档在FIDDLE上检查示例我已经使用RadiantScroller的API和回调函数添加了自动播放设置 plugin you used is not provide auto play feature check document herecheck example on FIDDLE i have added auto play setting using RadiantScroller's API and callbackfunctions $(document).ready(function() {
var sc;
sc = $('#myScroller').radiantScroller({
elementWidth: 400,
cols: 3,
rows: 2,
loaded : function(){
setTimeout(function(){
sc.radiantScroller('next');
},2000)
},
afterMove : function(){
setTimeout(function(){
sc.radiantScroller('next');
},2000)
},
lastPageReached : function(){
setTimeout(function(){
sc.radiantScroller(1);
},2000)
}
});
});" _ue_custom_node_="true">