JQuery 工具自动滚动 - 循环:true 在大小:2 时不起作用。仅在大小:1 时有效。
这是我的代码:
<script>
$(function() {
window.api = $(".scrollable")
.scrollable({size: 2, circular: true})
.navigator({idPrefix: 'a', history: true})
.autoscroll({autoplay: true, interval: 3000})
.data("scrollable");
api.onBeforeSeek(function() {
// return false;
});
});
</script>
请帮忙