"Carousel Extended"
Bootstrap 3.3.0 Snippet by PRADNYA

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div id="main_area"> <!-- Slider --> <div id="slider"> <!-- Top part of the slider --> <div id="carousel-bounding-box"> <div class="carousel slide" id="myCarousel"> <!-- Carousel items --> <ul class="carousel-inner"> <li class="active item" data-slide-number="0"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> </li> <li class="item" data-slide-number="1"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> </li> <li class=" item" data-slide-number="2"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> </li> <li class=" item" data-slide-number="3"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> </li> <li class=" item" data-slide-number="4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> </li> <li class="item" data-slide-number="5"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> <img src="http://placehold.it/770x300&text=one" class="col-lg-4"> </li> </ul><!-- Carousel nav --> <a class="carousel-control left" data-slide="prev" href="#myCarousel">‹</a> <a class="carousel-control right" data-slide="next" href="#myCarousel">›</a> </div> </div> </div><!--/Slider--> <div class="row hidden-phone" id="slider-thumbs"> <div class="col-lg-12"> <!-- Bottom switcher of slider --> <ul class="thumbnails"> <li class="col-lg-2 active"> <a class="thumbnail" id="carousel-selector-0"><img src="http://placehold.it/170x100&text=one"></a> </li> <li class="col-lg-2"> <a class="thumbnail" id="carousel-selector-1"><img src="http://placehold.it/170x100&text=two"></a> </li> <li class="col-lg-2"> <a class="thumbnail" id="carousel-selector-2"><img src="http://placehold.it/170x100&text=three"></a> </li> <li class="col-lg-2"> <a class="thumbnail" id="carousel-selector-3"><img src="http://placehold.it/170x100&text=four"></a> </li> <li class="col-lg-2"> <a class="thumbnail" id="carousel-selector-4"><img src="http://placehold.it/170x100&text=five"></a> </li> <li class="col-lg-2"> <a class="thumbnail" id="carousel-selector-5"><img src="http://placehold.it/170x100&text=six"></a> </li> </ul> </div> </div> </div>
jQuery(document).ready(function($) { $('#myCarousel').carousel({ interval: 5000 }); $('#carousel-text').html($('#slide-content-0').html()); //Handles the carousel thumbnails $('[id^=carousel-selector-]').click( function(){ var id_selector = $(this).attr("id"); var id = id_selector.substr(id_selector.length -1); var id = parseInt(id); $('#myCarousel').carousel(id); }); // When the carousel slides, auto update the text $('#myCarousel').on('slid', function (e) { var id = $('.item.active').data('slide-number'); $('#carousel-text').html($('#slide-content-'+id).html()); }); });

Related: See More


Questions / Comments: