문제

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
 });
});
.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top