"Boostrap Active Slider SM"
Bootstrap 3.0.0 Snippet by mohibullah

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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="custom_carousel" class="carousel slide" data-ride="carousel" data-interval="2500"> <!-- Wrapper for slides --> <div class="carousel-inner"> <div class="item active"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"><img src="http://www.omlogic.com/images/slider/rs-slider/demo/videobg1.jpg" class="img-responsive"></div> </div> </div> </div> <div class="item"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"><img src="http://www.omlogic.com/images/slider/rs-slider/demo/videobg1.jpg" class="img-responsive"></div> </div> </div> </div> <div class="item"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"><img src="http://www.omlogic.com/images/slider/rs-slider/demo/videobg1.jpg" class="img-responsive"></div> </div> </div> </div> <div class="item"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"><img src="http://www.omlogic.com/images/slider/rs-slider/demo/videobg1.jpg" class="img-responsive"></div> </div> </div> </div> <!-- End Item --> </div> <a class="left carousel-control" href="#custom_carousel" role="button" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#custom_carousel" role="button" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> <!-- End Carousel Inner --> <div class="controls"> <ul class="nav"> <li data-target="#custom_carousel" data-slide-to="0" class="active" style="background:url(http://placehold.it/350x250)no-repeat;height:213px;"><a href="#"></a></li> <li data-target="#custom_carousel" data-slide-to="1" style="background:url(http://placehold.it/350x250)no-repeat;height:213px;"><a href="#"></a></li> <li data-target="#custom_carousel" data-slide-to="2" style="background:url(http://placehold.it/350x250)no-repeat;height:213px;"><a href="#"></a></li> <li data-target="#custom_carousel" data-slide-to="3" style="background:url(http://placehold.it/350x250)no-repeat;height:213px;"><a href="#"></a></li> </ul> </div> </div> <!-- End Carousel --> </div>
body { padding-top:20px } #custom_carousel .item { color:#000; background-color:#eee; padding:20px 0; } #custom_carousel .controls{ overflow-x: auto; overflow-y: hidden; padding:0; margin:0; white-space: nowrap; text-align: center; position: relative; background:#ddd } #custom_carousel .controls li { float: left; height: 213px; margin: 0 7px; width: 263px; cursor: pointer; } #custom_carousel .controls li.active a { background: rgba(0, 0, 0, 0.50);height: 213px;margin-top:;position: absolute;width: 100% } #custom_carousel .controls a small { overflow:hidden; display:block; font-size:10px; margin-top:5px; font-weight:bold }
$(document).ready(function(ev){ $('#custom_carousel').on('slide.bs.carousel', function (evt) { $('#custom_carousel .controls li.active').removeClass('active'); $('#custom_carousel .controls li:eq('+$(evt.relatedTarget).index()+')').addClass('active'); }) });

Related: See More


Questions / Comments: