0
The code below does not work. jCarouselLite does not work, although that same code is working on another site I did.
<script type="text/javascript">
$(function() {
$(".itens"). jCarouselLite({
btnPrev: '.prev',
btnNext: '.next',
visible: 4
})
})
</script>
<div class="itens">
<ul class="itens-para-add">
<li class="item-individual">
<div class="img-ind">
<a href=""><img src="img/Tela01.png"></a>
</div>
</li><!-- INDIVIDUAL -->
<li class="item-individual">
<div class="img-ind">
<a href=""><img src="img/Tela02.png"></a>
</div>
</li><!-- INDIVIDUAL -->
<li class="item-individual">
<div class="img-ind">
<a href=""><img src="img/Tela03.png"></a>
</div>
</li><!-- INDIVIDUAL -->
<li class="item-individual">
<div class="img-ind">
<a href=""><img src="img/Tela04.png"></a>
</div>
</li><!-- INDIVIDUAL -->
<li class="item-individual">
<div class="img-ind">
<a href=""><img src="img/Tela05.png"></a>
</div>
</li><!-- INDIVIDUAL -->
<li class="item-individual">
<div class="item-title">
<h1>Camiseta Imagine em SP</h1>
</div>
<div class="img-ind">
<a href=""><img src="img/pulseira.jpg"></a>
</div>
</li><!-- individual -->
</ul><!-- ITENS PARA ADD -->
<nav class="menu-carrossel">
<a href="#" class="prev btn-scroll" title="Anterior"><</a>
<a href="#" class="next btn-scroll" title="Próximo">></a>
</nav>
<div class="clear"></div>
</div><!-- ITENS PARA ADD -->
Apois, are all in said folder "img", are displaying correctly, the js file of the carousel is properly linked as well as that of jquery, but does not function.
– Leonardo Henrique
Enter relevant information in the question, such as the library load order and the respective versions, if you are using any other plugin together and what more is needed. And it also shows errors in the console. This avoids wasting time here in the comments requesting this information and you run the risk of getting a more accurate and much faster answer.
– Sam