0
我正在使用jquery循环。我需要在第一次幻灯片后停止循环。我试图使用cycle.stop();和cycle.destroy();没有作品...有人可以帮助我。jquery第一次滑动后的循环停止
感谢
<script type="text/javascript">
$('#s2').cycle({
fx:'scrollUp',
speed: 'slow',
timeout: 2000,
easing: 'jswing',
pager: '#pager',
pagerAnchorBuilder: function (index, el) {
return '<a href="#"> </a>';
}
});
function getPagerButton(index, targetEl) {
if (index >= slidesCount - 1) {
return "";
}
return "<span></span>";
}
</script>
您能链接到您在问题中使用的插件吗? – Sampson
你想自动停止,还是停止某些事件? – sinisake