malsup / cycle2

2nd gen cycling
898 stars 237 forks source link

Multiple sliders same page, each with own pager #825

Open platypusmuerte opened 7 years ago

platypusmuerte commented 7 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.