"Thumnail Carousel 4 column single sliding"
Bootstrap 3.3.0 Snippet by yohanesisa

<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 class="container"> <div class="row"> <div id="myCarousel" class="carousel fdi-Carousel slide"> <!-- Carousel items --> <div class="carousel fdi-Carousel slide" id="eventCarousel" data-interval="0"> <div class="carousel-inner onebyone-carosel"> <div class="item active"> <div class="col-md-3"> <a href="#"><img src="http://placehold.it/250x250" class="img-responsive center-block"></a> </div> </div> <div class="item"> <div class="col-md-3"> <a href="#"><img src="http://placehold.it/250x250" class="img-responsive center-block"></a> </div> </div> <div class="item"> <div class="col-md-3"> <a href="#"><img src="http://placehold.it/250x250" class="img-responsive center-block"></a> </div> </div> <div class="item"> <div class="col-md-3"> <a href="#"><img src="http://placehold.it/250x250" class="img-responsive center-block"></a> </div> </div> <div class="item"> <div class="col-md-3"> <a href="#"><img src="http://placehold.it/250x250" class="img-responsive center-block"></a> </div> </div> <div class="item"> <div class="col-md-3"> <a href="#"><img src="http://placehold.it/250x250" class="img-responsive center-block"></a> </div> </div> <div class="item"> <div class="col-md-3"> <a href="#"><img src="http://placehold.it/250x250" class="img-responsive center-block"></a> > </div> </div> </div> <a class="left carousel-control" href="#eventCarousel" data-slide="prev"></a> <a class="right carousel-control" href="#eventCarousel" data-slide="next"></a> </div> <!--/carousel-inner--> </div><!--/myCarousel--> </div> </div>
.carousel-inner.onebyone-carosel { margin: auto; width: 100%; } .onebyone-carosel .active.left { left: -25.00%; } .onebyone-carosel .active.right { left: 25.00%; } .onebyone-carosel .next { left: 25.00%; } .onebyone-carosel .prev { left: -25.00%; }
$(document).ready(function () { $('#myCarousel').carousel({ interval: 2000 }) $('.carousel-inner .item').each(function () { var next = $(this).next(); if (!next.length) { next = $(this).siblings(':first'); } next.children(':first-child').clone().appendTo($(this)); for (var i=0;i<2;i++) { next=next.next(); if (!next.length) { next = $(this).siblings(':first'); } next.children(':first-child').clone().appendTo($(this)); } }); });

Related: See More


Questions / Comments: