"side nav slider - carousel"
Bootstrap 3.3.0 Snippet by Ariska138

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <!-- Start Carousel --> <div id="custom_carousel" class="carousel slide" data-ride="carousel" data-interval="0"> <div class="row clearfix"> <div class="col-md-2 col-sm-2 column"> <div class="controls"> <ul class="nav"> <li data-target="#custom_carousel" data-slide-to="0" class="active"><a href="#"><img src="http://placehold.it/50x50" height="50%" width="50%"><small>Grap 1 with some more text in it. that may go out</small></a></li> <li data-target="#custom_carousel" data-slide-to="1"><a href="#"><img src="http://placehold.it/50x50" height="50%" width="50%"><small>Graph 2</small></a></li> <li data-target="#custom_carousel" data-slide-to="2"><a href="#"><img src="http://placehold.it/50x50" height="50%" width="50%"><small>Graph 3</small></a></li> </ul> </div> </div> <div class="col-md-10 col-sm-10 column"> <!-- Wrapper for slides --> <div class="carousel-inner"> <div class="item active"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <h2>Content 1</h2> <p>example text of an explination for the content seen below</p> <div class="graph"> <div class="graph-content"> <img src="http://placehold.it/700x700" height="400" width="700px"></div> </div> </div> </div> </div> </div> <div class="item"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <h2>Content 2</h2> <p>example text of an explination for the content seen below</p> <div class="graph"> <div class="graph-content"> <img src="http://placehold.it/700x700" height="400" width="700px"></div> </div> </div> </div> </div> </div> <div class="item"> <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <h2>Content 3</h2> <p>example text of an explination for the content seen below</p> <div class="graph"> <div class="graph-content"> <img src="http://placehold.it/700x700" height="400" width="700px"></div> </div> </div> </div> </div> </div> <!-- End Item --> </div> <!-- End Carousel Inner --> </div> </div> </div> </div> </div> </div>
body { padding:0; margin:0; background:#eee; } /* .container-fluid { padding:0; margin:0; } */ .graph { margin-top: 10px; box-sizing: border-box; border-radius: 4px; background-clip: padding-box; background-color:#fff; box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.12); } .graph-content { padding: 10px; position: relative; overflow: hidden; } .graph-content img { background-clip: padding-box; position: relative; } .carousel-inner { padding-bottom:20px; } .carousel-inner h2 { display:inline; } .carousel-inner p { display:inline; padding-left:10px; } #custom_carousel .item { color:#000; background-color:#eee; padding:20px 0; } .controls img{ box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16), 0 2px 5px 0 rgba(0, 0, 0, 0.12); } #custom_carousel .controls{ overflow-x: auto; overflow-y: hidden; padding-top:60px; margin:0; text-align: center; position: relative; background:#E0E0E0; } #custom_carousel .controls li { border-left:3px solid #616161; } #custom_carousel .controls li.active { background-color:#eee; border-left:3px solid #FF474A; } #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: