Tag Archives: carousel slider

Bootstrap carousel slider left to right slides direction

jQuery file


jQuery( document ).ready(function() {
jQuery('#myCarousel').carousel({
interval: false
});
setInterval(function(){jQuery('#myCarousel').carousel('prev'); }, 3000);
});

Display


<div id="myCarousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="item active" >
<img src="<?=$base_URL?>images/Vehicle_wraps2/slide-1.png" alt="">
</div>
<div class="item" >
<img src="<?=$base_URL?>images/Vehicle_wraps2/slide-2.png" alt="">
</div>

</div>
<!-- Carousel nav -->

</div>

%d bloggers like this: