Wilto / Dynamic-Carousel

A carousel plugin built for responsive layouts. There are many like it, but this one is mine.
matmarquis.com/carousel/
472 stars 112 forks source link

Multiple sliders next/prev buttons skipping slides #75

Open baoagency opened 11 years ago

baoagency commented 11 years ago

When I have multiple sliders on the same page and they all have the same settings (with pagination and with the automatic next/prev links) with the same amount of slides. However, the next/prev links only correctly filter through the slides on the last carousel. I.E. I have three sliders on one page and only the third one (last one) will work correctly, the first two will skip slides.

See this link: http://dev.byassociationonly.com/wilto/demo.html

For reference, when you manually add the next/prev links, they work fine its just when you automate it, they break.

Update:

Well adding manual next/prev links only works when you give each set of links completely different class names to the other sets. These classnames need to be different every time you add a carousel. Not the greatest way of handling this imo.