nir9 / itemslide

JavaScript Touch Carousel Library with Zero Dependencies
https://itemslide.org
MIT License
647 stars 85 forks source link

Two carousels in the same page #74

Closed rafelsanso closed 7 years ago

rafelsanso commented 7 years ago

It's possible to create two instances of itemslide in the same page?

I have two lists of items. Every one with different ids. When I try to slide one of the carousels by code (using .next() and .previous()), only the first carousel will update its position.

rafelsanso commented 7 years ago

I found the solution.