jquery - Flexslider stop at first slide after loop -


i trying flexslider make full loop , stop or pause once gets first slide. here code far:

$(window).load(function(){     $('.flexslider').flexslider({         animation: "slide",         animationloop: true,          slideshowspeed: 5000,         pauseonhover: true,         start: function(slider){             $('body').removeclass('loading');         }        }); }); 

try this:

$(window).load(function(){     $('.flexslider').flexslider({         animation: "slide",         animationloop: true,          slideshowspeed: 5000,         pauseonhover: true,         start: function(slider){             $('body').removeclass('loading');         },         after: function (slider) {             if ((slider.currentslide + 1) == slider.count) {                  slider.pause();             }         }     }); }); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -