"multiple carousel with single control"
Bootstrap 3.3.0 Snippet by annilshinde

<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 ----------> <!doctype html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <title>Hello, world!</title> <style> .carousel-control.right { height: 30px; width: 30px; background: #fff; line-height: 24px; color: #000; border-radius: 50%; padding: 0; font-size: 30px; position: absolute; left: 100%; top: 95%; z-index: 2; } .carousel-control.left { height: 30px; width: 30px; background: #fff; line-height: 24px; color: #000; border-radius: 50%; padding: 0; font-size: 30px; position: absolute; left: 95%; top: 95%; z-index: 2; } </style> </head> <body> <div class="container-fluid"> <div class="row"> <div class="col-md-6"> <div class="row"> <div id="myCarousel" class="carousel slide" data-interval="false"> <!-- <ol class="carousel-indicators"> <li data-target="#myCarousel #myCarousel2" data-slide-to="0" class="active"></li> <li data-target="#myCarousel #myCarousel2" data-slide-to="1"></li> <li data-target="#myCarousel #myCarousel2" data-slide-to="2"></li> </ol> Carousel items --> <div class="carousel-inner"> <div class="active item"><img src="http://placehold.it/1200x480?text=slide1" title="blue image 1"></div> <div class="item"><img src="http://placehold.it/1200x480?text=slide2" title="blue image 1"></div> <div class="item"><img src="http://placehold.it/1200x480?text=slide3" title="blue image 1"></div> </div> <!-- Carousel nav --> <a class="carousel-control left" href="[id^=myCarousel]" data-slide="prev">‹</a> <a class="carousel-control right" href="[id^=myCarousel]" data-slide="next">›</a> </div> </div> </div> <div class="col-md-6"> <div class="row"> <div id="myCarousel2" class="carousel slide" data-interval="false"> <!-- Carousel items --> <div class="carousel-inner"> <div class="active item"><img src="http://placehold.it/1200x480/f00000?text=slide1" title="blue image 1"></div> <div class="item"><img src="http://placehold.it/1200x480/0000FF?text=slide2" title="blue image 1"></div> <div class="item"><img src="http://placehold.it/1200x480/000000?text=slide3" title="blue image 1"></div> </div> <!-- Carousel nav --> </div> </div> </div> </div> <div class="row"> <div class="col-md-12"> <div class="row"> <div id="myCarousel3" class="carousel slide" data-interval="false"> <!-- Carousel items --> <div class="carousel-inner"> <div class="active item"><img src="http://placehold.it/1400x380/f25f25?text=slide1" title="blue image 1"></div> <div class="item"><img src="http://placehold.it/1400x380/d5d5d5?text=slide2" title="blue image 1"></div> <div class="item"><img src="http://placehold.it/1400x380/d00e00?text=slide3" title="blue image 1"></div> </div> <!-- Carousel nav --> </div> </div> </div> </div> </div> <!-- Optional JavaScript --> <!-- jQuery first, then Popper.js, then Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> <script> $('#myCarousel, #myCarousel2, #myCarousel3').carousel(); </script> </body> </html>
<script> $('#myCarousel, #myCarousel2, #myCarousel3').carousel(); </script>

Related: See More


Questions / Comments: