可以通过以下方式停止幻灯片放映:
$(this).cycle('stop');
或者可以通过以下方式暂停:
$(this).cycle('pause');
但是如何停止/暂停幻灯片放映并同时返回到第一张幻灯片?
最佳答案
转到起始幻灯片
$('#goto1').click(function() {
$('#s1').cycle(0);
return false;
});
关于jquery循环: return to the first slide,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1225467/