Preventing twitter bootstrap carousel from auto sliding on page load

Tepken Vannkorn picture Tepken Vannkorn · Nov 13, 2012 · Viewed 157.2k times · Source

So is there anyway to prevent twitter bootstrap carousel from auto sliding on the page load unless the next or previous button is clicked?

Thanks

Answer

Michal Kopec picture Michal Kopec · Sep 15, 2013

Or if you're using Bootstrap 3.0 you can stop the cycling with data-interval="false" for instance

<div id="carousel-example-generic" class="carousel slide" data-interval="false">

Other helpful carousel data attributes are here -> http://getbootstrap.com/javascript/#carousel-usage