© 2024 fjorge. All rights reserved.
How do I manually jump to a specific slide in Flexslider?

This is such a quick fix, yet very few places on the internet seem to know the 4 lined solution to this problem. If you are using the FlexSlider plugin, you may come across the scenario where you need to jump to a specific slide – no animations attached. Just a good old fashioned goTo action. I found that while my other search terms failed, looking for changing the flexslider settings after initialization had something to it.
This is how I initialized my flexslider:
$('#whyslider').flexslider({
animation: "slide"
, slideshow: false
, animationLoop: true
});
Later in the code when I wanted to jump to a slide: