2016-08-25 66 views
0

請參閱附件片段...貓頭鷹傳送帶卷軸的所有div一起

貓頭鷹傳送帶即使在這種最小的設置,滾動裏面所有div,好像它是一個DIV!

每個元素都應該能夠indipendently滾動,在這個演示

http://owlgraphic.com/owlcarousel/demos/one.html

我在這裏要吃香蕉......

$(document).ready(function() { 
 
    $("#home-carousel").owlCarousel({ 
 
     autoPlay: 3000, 
 
     singleItem:true 
 
    }); 
 
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> 
 
<script src="http://owlgraphic.com/owlcarousel/owl-carousel/owl.carousel.js"></script> 
 

 
<div id="above-the-fold-remaining" style="height:150px"> 
 
\t <div id="home-carousel" class="owl-carousel"> 
 
\t \t <div class="item"><img src="http://placehold.it/600x150.jpg" alt="demo 1" /></div> 
 
\t \t <div class="item"><img src="http://placehold.it/600x150.jpg" alt="demo 2" /></div> 
 
\t \t <div class="item"><img src="http://placehold.it/600x150.jpg" alt="demo 3" /></div> 
 
\t </div> 
 
</div>

回答

0

OK!

我忘了,包括CSS文件

一切正常,現在