jQuery JCarousblite는 두 개의 이미지를 미끄러 져 있지 않습니다
-
12-12-2019 - |
문제
jcarousellite 는 두 개 이상의 이미지에 대해 잘 작동합니다.
그러나 두 개의 이미지 또는 Li Jcarousellite가 올바르게 작동하지 않습니다.마지막 이미지가 계속 표시됩니다.
아이디어가 있습니까?
html :
.
<div id="explore_slider" style="width:980px !important;height:300px;">
<ul style="width:980px;height:300px;">
<li><img src="/images/feature_bicflex4.jpg" width="980px" height="300px" /></li>
<li><img src="/images/feature_bordeauxwine.jpg" width="980px" height="300px" /></li>
</ul>
</div>
jQuery :
.$(document).ready(function(){
$("#explore_slider").jCarouselLite({
speed: 1000,
auto: true
});
});
해결책
매개 변수 visible: 1
를 추가합니다.
$(document).ready(function(){
$("#explore_slider").jCarouselLite({
speed: 1000,
auto: true,
visible: 1
});
});
. 제휴하지 않습니다 StackOverflow