[Solved] Twitter Bootstrap Carousel and carusel broblem [closed]


You didn’t set the data-target attribute correctly. the data-target of .carousel-indicators are set to #myCarousel, but the Carousel div’s id is jumbotron.

<ol class="carousel-indicators">
<li data-target="#jumbotron" data-slide-to="0" class=""></li>
<li data-target="#jumbotron" data-slide-to="1" class=""></li>
<li data-target="#jumbotron" data-slide-to="2" class=""></li>
<li data-target="#jumbotron" data-slide-to="3" class=""></li>
</ol>

the same problem exists in the carousel navigation. you should set the href attr to ‘#jumbotron’ as well.

1

solved Twitter Bootstrap Carousel and carusel broblem [closed]