Skip to content Skip to sidebar Skip to footer

How Can I Keep Carousel Keep Cycling?

Apparently, the demo page on the http://twitter.github.com/bootstrap/javascript.html#carousel seems to have carousel stop rotating after it reaches the right most picture in the sl

Solution 1:

This is actually a bug that has been fixed in 2.0.2

You can try deleting line 86 in bootstrap-carousel.js which is,

if (!$next.length) return

See: issue 2036

Solution 2:

We created an infinite jquery scroller for our corporate site. Our approach was, as each image was scrolled off of the screen we'd clone it, append the clone to the opposite side, and remove the one that just left the viewable area.

Solution 3:

try this.

$('.carousel').carousel()

It's literally from the bootstrap site. Makes no sense to me that this would not be instance specific. But there is some room for improvement in the doc anyway.

Post a Comment for "How Can I Keep Carousel Keep Cycling?"