malsup / cycle2

2nd gen cycling
899 stars 239 forks source link

Multiple sliders same page, each with own pager #825

Open platypusmuerte opened 6 years ago

platypusmuerte commented 6 years ago

I have 2 sliders, and they each have their own pager, but the control icon count is the total of both slides for each.

Cant seem to find what flag needs to be set for them to not do this.

<div class="cycle-slideshow" data-cycle-slides="> div" data-cycle-pause-on-hover="true" data-cycle-timeout="3000" data-cycle-loader="false" data-cycle-log="false" data-cycle-pager=".carouselRowControls" data-cycle-pager-template="

" data-cycle-carousel-fluid="true" style="position: relative;">

I have tried using data-cycle-pager="#auniqueid" for each, and that doesnt work either.

To clarify, if slide 1 has 5 items, and slide 2 has 3 items, each slide has a total of 8 icons for the pagers.