Introduction:
Here i am going to explain how to add bootstrap Carousel plugin slider into your website. You can read my previous article to read how to implement bootstrap.
Steps:
Here i am going to explain how to add bootstrap Carousel plugin slider into your website. You can read my previous article to read how to implement bootstrap.
Steps:
- <div id="myCarousel" class="carousel slide" data-ride="carousel">
- <!-- Indicators -->
- <ol class="carousel-indicators">
- <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
- <li data-target="#myCarousel" data-slide-to="1"></li>
- <li data-target="#myCarousel" data-slide-to="2"></li>
- <li data-target="#myCarousel" data-slide-to="3"></li>
- </ol>
- <!-- slides -->
- <div class="carousel-inner" role="listbox">
- <div class="item active">
- <img src="img/img_chania.jpg" alt="Chania">
- </div>
- <div class="item">
- <img src="img/img_chania2.jpg" alt="Chania">
- </div>
- <div class="item">
- <img src="img/img_flower.jpg" alt="Flower">
- </div>
- <div class="item">
- <img src="img/img_flower2.jpg" alt="Flower">
- </div>
- </div>
- <a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
- <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
- <span class="sr-only">Previous</span>
- </a>
- <a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
- <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
- <span class="sr-only">Next</span>
- </a>
- </div>
No comments:
Post a Comment