Problem with navigation button on several sliders #3959
Replies: 5 comments
-
You should init each slider separatly. use jQuery
Originally posted by @evolutionxbox in #273 (comment) or just give each slider a name: <div class="swiper-container s1"> ... </div> <div class="swiper-container s2"> ... </div> <div class="swiper-container s3"> ... </div> <script> var swiper1 = new Swiper('.s1', { /* Options here */ }) var swiper2 = new Swiper('.s2', { /* Options here */ }) var swiper3 = new Swiper('.s3', { /* Options here */ }) </script> Originally posted by @nolimits4web in #273 (comment) |
Beta Was this translation helpful? Give feedback.
-
i did this way. but the problem still exist... |
Beta Was this translation helpful? Give feedback.
-
i tried this code:
|
Beta Was this translation helpful? Give feedback.
-
give each one a unique id like
|
Beta Was this translation helpful? Give feedback.
-
According to documentation:
have you tried manually setting it to true? |
Beta Was this translation helpful? Give feedback.
-
I have several sliders on one page. I gave them the same class and initialized them (swiper-container).
But when I click on one of navigation buttons, all sliders will move.
how can I solve this?
Beta Was this translation helpful? Give feedback.
All reactions