Hi,
I cloned a project for a custom slider and everything works perfectly as is. Now I want to make the slider to autoplay, but whenever I click the nav it won’t stop the autoplay like it normally would with a non-custom slider. Can anyone help?
The original cloneable project is here: How to Create Slider Thumbnails
I cloned it and made it autoplay, which you can see here: https://cloned-project-23e8de.webflow.io/how-to-display-slider-thumbnails-for-webflow-slider (if you click on one of the thumbnails, you’ll see that the autoplay still keeps going).
I assume that the relevant code is this bit:
target.find(‘.w-slider-nav’).children().eq($(this).index()).trigger(‘tap’);
For some reason that doesn’t stop the autoplay even though if I understand it correctly it’s meant to emulate tapping the real slider nav.