"Tabbed Slider Carousel "
Bootstrap 3.1.0 Snippet by quintinriley

<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.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"> <!-- Wrapper for slides --> <div class="carousel-inner"> <div class="item active"> <img src="http://placehold.it/1200x400/16a085/ffffff&text=About Us"> <div class="carousel-caption"> <h3>Headline</h3> <p> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. </p> </div> </div> <!-- End Item --> <div class="item"> <img src="http://placehold.it/1200x400/e67e22/ffffff&text=Projects"> <div class="carousel-caption"> <h3>Headline</h3> <p> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. </p> </div> </div> <!-- End Item --> <div class="item"> <img src="http://placehold.it/1200x400/2980b9/ffffff&text=Portfolio"> <div class="carousel-caption"> <h3>Headline</h3> <p> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. </p> </div> </div> <!-- End Item --> <div class="item"> <img src="http://placehold.it/1200x400/8e44ad/ffffff&text=Services"> <div class="carousel-caption"> <h3>Headline</h3> <p> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. Lorem ipsum dolor sit amet, consetetur sadipscing elitr. </p> </div> </div> <!-- End Item --> </div> <!-- End Carousel Inner --> <ul class="nav nav-pills"> <li data-target="#custom_carousel" data-slide-to="0" class="active"><a href="#">About<small>Loremipsum dolor sit</small></a></li> <li data-target="#custom_carousel" data-slide-to="1"><a href="#">Projects<small>Lorem ipsumdolor sit</small></a></li> <li data-target="#custom_carousel" data-slide-to="2"><a href="#">Portfolio<small>Lorem ipsumdolor sit</small></a></li> <li data-target="#custom_carousel" data-slide-to="3"><a href="#">Services<small>Lorem ipsumdolor sit</small></a></li> </ul> </div> <!-- End Carousel --> </div>
#custom_carousel { margin: 30px auto; .nav { background: #eee; a small { display: block; } } } .nav-pills li { width: 25%; box-sizing: border-box; margin: 0!important; } .nav-pills > li > a { border-radius: 0; } .nav-pills>li[data-slide-to="0"].active a { background-color: #16a085; } .nav-pills>li[data-slide-to="1"].active a { background-color: #e67e22; } .nav-pills>li[data-slide-to="2"].active a { background-color: #2980b9; } .nav-pills>li[data-slide-to="3"].active a { background-color: #8e44ad; }
jQuery(document).ready(function(ev) { $('#custom_carousel').on('slide.bs.carousel', function (evt) { $('#custom_carousel .nav li.active').removeClass('active'); $('#custom_carousel .nav li:eq('+$(evt.relatedTarget).index()+')').addClass('active'); }); });

Related: See More


Questions / Comments: