lundi 5 décembre 2016

JQuery sudoSlider plugin working with "bug"

I use JQuery's sudoSlider plugin. But if dataset contain more than 5 elements, sudoSlider is not working properly. When I press nextHtml button - sudoSlider scrolling more than one elements, bit it should be only one element. Below is sudoSlider initialize code:

$(".accessories-list-wrapper").sudoSlider({
    slideCount: 4,
    continuous: true,
    nextHtml: '<span class="fa-angle-right"></span>',
    prevHtml: '<span class="fa-angle-left"></span>'
});

Maybe anyone experienced it?




Aucun commentaire:

Enregistrer un commentaire