bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Can't have multiple carousels on a single page?

Open sroberson opened this issue 12 years ago • 4 comments

I'm using Angular v1.2.6 and have installed angular-ui-bootstrap via bower (not sure what version). I need to have 3 carousels on a single page, but when I put the three on there, when I advance one, they all move synchronously. Is this a bug? If not, how can I separate them?

Thanks, Scott

sroberson avatar Jan 14 '14 23:01 sroberson

Nevermind, I just hadn't done enough Googling... I found that if you just change the active="item.active" to active="item.active1", active="item.active2", active="item.active3" for the 3 carousels, then it works fine.

sroberson avatar Jan 14 '14 23:01 sroberson

Can you show demo? I get the same problem.

bang-dc avatar Jun 24 '14 17:06 bang-dc

OH, awesome. Thank you so much.

bang-dc avatar Jun 24 '14 18:06 bang-dc

:+1: Thank you for sharing the solution.

phgeek avatar May 06 '15 17:05 phgeek