"Carousel Extended - 3.2.0 Compatible"
Bootstrap 3.2.0 Snippet by PRADNYA

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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 class="container"> <div id="main_area"> <!-- Slider --> <div class="row"> <div class="col-xs-12" id="slider"> <!-- Top part of the slider --> <div class="row"> <div id="carousel-bounding-box"> <div class="carousel slide" id="myCarousel"> <!-- Carousel items --> <div class="carousel-inner"> <div class="active item" data-slide-number="0"> <img src="http://placehold.it/770x300&text=one"></div> <div class="item" data-slide-number="1"> <img src="http://placehold.it/770x300&text=two"></div> <div class=" item" data-slide-number="2"> <img src="http://placehold.it/770x300&text=one"></div> <div class="item" data-slide-number="3"> <img src="http://placehold.it/770x300&text=two"></div> </div> </div> </div> </div><!--/Slider--> <div class="row hidden-xs carousel slide" id="slider-thumbs"> <!-- Bottom switcher of slider --> <ul class="hide-bullets carousel-inner" > <li class="active item"> <a class="thumbnail col-sm-4 " id="carousel-selector-0"><img src="http://placehold.it/170x100&text=one"></a> <a class="thumbnail col-sm-4 " id="carousel-selector-1"><img src="http://placehold.it/170x100&text=two"></a> <a class="thumbnail col-sm-4 " id="carousel-selector-2"><img src="http://placehold.it/170x100&text=two"></a> </li> <li class=" item"> <a class="thumbnail col-sm-4" id="carousel-selector-3"><img src="http://placehold.it/170x100&text=one"></a> <a class="thumbnail col-sm-4" id="carousel-selector-4"><img src="http://placehold.it/170x100&text=two"></a> <a class="thumbnail col-sm-4" id="carousel-selector-1"><img src="http://placehold.it/170x100&text=two"></a> </li> <li class=" item"> <a class="thumbnail col-sm-4" id="carousel-selector-0"><img src="http://placehold.it/170x100&text=one"></a> <a class="thumbnail col-sm-4" id="carousel-selector-1"><img src="http://placehold.it/170x100&text=two"></a> <a class="thumbnail col-sm-4" id="carousel-selector-1"><img src="http://placehold.it/170x100&text=two"></a> </li> </ul> <a class="left carousel-control" href="#slider-thumbs" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#slider-thumbs" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div>
.hide-bullets { list-style:none; margin-left: -40px; margin-top:20px; }
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 = this.id.substr(this.id.lastIndexOf("-") + 1); var id = parseInt(id); $('#myCarousel').carousel(id); }); // When the carousel slides, auto update the text $('#myCarousel').on('slid.bs.carousel', function (e) { var id = $('.item.active').data('slide-number'); $('#carousel-text').html($('#slide-content-'+id).html()); }); });

Related: See More


Questions / Comments: