Swiper2. How to do two pager pagination Synchronize implementation, that is, when you click on one pager, the other pager also changes.

here is the html code:

clipboard.png

js:

var mySwiper = new Swiper (".swiper-container", {

pagination: ".pagination",
paginationClickable: true,
mode: "vertical",
mousewheelControl : true,
mousewheelControlForceToAxis : true

})
var mySwiper = new Swiper (".swiper-container", {

pagination: ".pagination1",
paginationClickable: true,
mode: "vertical",
mousewheelControl : true,
mousewheelControlForceToAxis : true

})

if you follow what is written above, you can use Synchronize when scrolling, but not Synchronize when you click.

Mar.02,2021

class is misspelled. The pager class is all pagination,. If you want to divide the name, you can add id or add another class name


. Edwin van der Sar sends flood Edwin van der Sar

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38df0-2c140.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38df0-2c140.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?