在最后一张幻灯片后,我的幻灯片放映幻灯片顺序从第一张幻灯片开始,我希望它循环..我不知道该代码中有什么变化,我是初学者。如果有人回答我会非常感激...
//direction settings
if(opts.direction == 'right'){
cur = maxi; //starting from last slide
autoMove = opts.prev; //changing the auto-scroll direction
$(opts.slides).children().each(function(e){ //inverting the slide order
if(e = 0){
var child = $(this).detach();
$(opts.slides).prepend(child);
}
});
}