Question

JCarouselLite fonctionne bien pour plus de deux images.

Mais pour DEUX images ou li, JCarouselLite ne fonctionne pas correctement.La dernière image s'affiche encore et encore.

Des idées ?

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
  });
});
Était-ce utile?

La solution

Ajouter un paramètre visible: 1.

$(document).ready(function(){
  $("#explore_slider").jCarouselLite({
  speed: 1000,
  auto: true,
  visible: 1
 });
});
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top