Flexslider 1.8 go to step

I have a question for jQuery Flexslider plugin version 1.8. How can I go to the slide manually? I searched and found the code, but it does not work properly.

$('.flexslider').slider.flexAnimate(2, true); 

I got "$ (". Flexslider "). FlexAnimate is not an error function

+5
source share
1 answer

You can go to the third slide as follows:

var slider = $('#your-slider').data('flexslider');
slider.flexAnimate(2);

And this way too:

$('#your-slider').flexslider(2);
+11
source

All Articles