"Vertical Slider"
Bootstrap 3.0.3 Snippet by dotstrap

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/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 well"> <div class="col-xs-8 col-sm-6 col-md-6"> <h2>Vertical Slider</h2> <div id="myCarousel" class="vertical-slider carousel vertical slide col-md-12" data-ride="carousel"> <div class="row"> <div class="col-md-4"> <span data-slide="next" class="btn-vertical-slider glyphicon glyphicon-circle-arrow-up " style="font-size: 30px"></span> </div> <div class="col-md-8"> </div> </div> <br /> <!-- Carousel items --> <div class="carousel-inner"> <div class="item active"> <div class="row"> <div class="col-xs-6 col-sm-5 col-md-5"> <a href="http://dotstrap.com/"> <img src="http://placehold.it/150x150" class="thumbnail" alt="Image" /></a> </div> <div class="col-xs-6 col-sm-7 col-md-7"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet.. </div> </div> <!--/row-fluid--> </div> <!--/item--> <div class="item "> <div class="row"> <div class="col-xs-6 col-sm-5 col-md-5"> <a href="http://dotstrap.com/"> <img src="http://placehold.it/150x150" class="thumbnail" alt="Image" /></a> </div> <div class="col-xs-6 col-sm-7 col-md-7"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet.. </div> </div> <!--/row-fluid--> </div> <!--/item--> <div class="item "> <div class="row"> <div class="col-xs-6 col-sm-5 col-md-5"> <a href="http://dotstrap.com/"> <img src="http://placehold.it/150x150" class="thumbnail" alt="Image" /></a> </div> <div class="col-xs-6 col-sm-7 col-md-7"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet.. </div> </div> <!--/row-fluid--> </div> <!--/item--> </div> <div class="row"> <div class="col-md-4"> <span data-slide="prev" class="btn-vertical-slider glyphicon glyphicon-circle-arrow-down" style="color: Black; font-size: 30px"></span> </div> <div class="col-md-8"> </div> </div> </div> </div> </div> </div>
.btn-vertical-slider{ margin-left:35px; cursor:pointer;} a { cursor:pointer;} .carousel.vertical .carousel-inner .item { -webkit-transition: 0.6s ease-in-out top; -moz-transition: 0.6s ease-in-out top; -ms-transition: 0.6s ease-in-out top; -o-transition: 0.6s ease-in-out top; transition: 0.6s ease-in-out top; } .carousel.vertical .active { top: 0; } .carousel.vertical .next { top: 100%; } .carousel.vertical .prev { top: -100%; } .carousel.vertical .next.left, .carousel.vertical .prev.right { top: 0; } .carousel.vertical .active.left { top: -100%; } .carousel.vertical .active.right { top: 100%; } .carousel.vertical .item { left: 0; }​
$(document).ready(function () { $('.btn-vertical-slider').on('click', function () { if ($(this).attr('data-slide') == 'next') { $('#myCarousel').carousel('next'); } if ($(this).attr('data-slide') == 'prev') { $('#myCarousel').carousel('prev') } }); });

Related: See More


Questions / Comments:

Try This, without any bugs, and multiple Item Support:
http://bootsnipp.com/user/s...

sdcarte () - 10 years ago - Reply -2


Thanks. It works for me who doesn't want to add more plugin just for the vertical.
Is there git hub?

Tae Hwa Kim () - 7 years ago - Reply 0


I know this sounds silly but are you able have more than one image showing as you scroll through?

Wendy () - 10 years ago - Reply 0


put more than div inside the item and adjust the css to control how many items to scroll at once.

Mu.Ah () - 10 years ago - Reply 0


still buggy :( slide layer not good

Yoza Wiratama () - 10 years ago - Reply 0