I cant find a suitable answer for this but I am sure somebody must have done this before.
I am using JCarouselLite and I would like to implement a simple slide counter that looks like "1/20" for example but I cant find any solution to this.
Here is my HTML
<div class="page-carousel">
<div class="carousel">
<ul>
<li><img id="caption" src="img/img-01.jpg" alt="1"><h3>caption</h3></li>
<li><img id="caption" src="img/img-02.jpg" alt="2"><h3>caption 2</h3></li>
<li><img id="caption" src="img/img-03.jpg" alt="3"><h3>caption 3</h3></li>
</ul>
</div>
</div>
And my JS settings for the carousel
$().ready(function() {
$(".carousel").jCarouselLite({
visible: 2,
auto: 2,
scroll: 2,
mouseWheel: true,
timeout: 6000,
speed: 800,
swipe: true,
circular: true,
btnNext: ".next",
btnPrev: ".prev",
autoWidth: true,
responsive: true
});
});
Any help would be very much appreciated – I am totally stuck on this one.