Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloned Carousel unresponsive #4531

Closed
istvanskeri opened this issue Aug 21, 2012 · 1 comment
Closed

Cloned Carousel unresponsive #4531

istvanskeri opened this issue Aug 21, 2012 · 1 comment
Labels

Comments

@istvanskeri
Copy link

I have a bootstrap carousel inside an infinite slider (custom code). The way the infinite slider works is by cloning each element. When the element is cloned the carousel inside it stops working. I am using jquery deep clone to clone, events are no longer bound to the carousel after the clone takes place. Here is the code:

http://jsfiddle.net/skeri/yHZyu/3/

Is there a way to clone and still have the carousel function after?

@fat
Copy link
Member

fat commented Aug 28, 2012

you'll have to reinitialize the carousel functionality on the cloned element

@fat fat closed this as completed Aug 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants