Hi referring to this question, the js is count by slide. My slidetoshow is 3 per page. How can I make it count by page? That mean
- 1/3
- 2/3
- 3/3
Here's my result for now:
- 1/3
- 4/3
- 7/3
$slickElement.on('init reInit afterChange', function (event, slick, currentSlide, nextSlide) {
if (!slick.$dots) {
return;
}
var i = (currentSlide ? currentSlide : 0) + 1;
$status.text(i + ' / ' + slick.$dots[0].children.length);
});