0

JCarouselLiteは、3つ以上の画像に対して正常に機能しています。

しかし、2つの画像または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
  });
});
4

1 に答える 1

1

パラメータを追加しますvisible: 1

$(document).ready(function(){
  $("#explore_slider").jCarouselLite({
  speed: 1000,
  auto: true,
  visible: 1
 });
});
于 2012-03-12T11:01:14.893 に答える