jQuery 循环:真;猫头鹰旋转木马
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/27924400/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
loop:true; OWL CAROUSEL
提问by ?an Marolt
Owl Corousel not looping to infinity here is my code:
猫头鹰旋转木马没有循环到无穷大这里是我的代码:
<script>
$(document).ready(function() {
$("#owl-demo").owlCarousel({
center: true,
loop:true,
autoPlay: 7000,
items : 4,
itemsDesktop : [1199,3],
itemsDesktopSmall : [979,3],
});
});
</script>
Does anyone know why the loop doesn't work? Everything works fine except looping to infinity.
有谁知道为什么循环不起作用?除了循环到无穷大之外,一切正常。
How i want it to loop: http://www.owlcarousel.owlgraphic.com/
我希望它如何循环:http: //www.owlcarousel.owlgraphic.com/
Thanks in advance, i am a beginner at jquery.
在此先感谢,我是 jquery 的初学者。
采纳答案by ?an Marolt
I used version 1.3.3., In order to use the feature you have to use beta version which you can access here:¨http://www.owlcarousel.owlgraphic.com/
我使用了 1.3.3 版,为了使用该功能,您必须使用测试版,您可以在此处访问:¨ http://www.owlcarousel.owlgraphic.com/
Regards!
问候!