Answer the question
In order to leave comments, you need to log in
How to link 3 swiper carousels on a page?
There are 3 swiper
carousels on the page
how to link them together? so that any interaction with any of them will affect all other carousels as well?
For example, when I scroll one, all the others scroll. Including scrolling with the mouse.
Here they are all in codepen
Answer the question
In order to leave comments, you need to log in
Like this. The point is that you subscribe to the slide change event, and then, after 1 function, flip all the sliders to the same slide index as the slider that just changed its index.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question