Widget:Carousel: Difference between revisions

From Jcastle.info
(Undo revision 15738 by Eric (talk))
No edit summary
Line 1: Line 1:
<div class="container">
<div class="container">
<h2>Carousel Options</h2>
<p>The <strong>data-wrap</strong> attribute specifies whether the carousel should go through all slides continuously, or stop at the last slide.</p>
<p>In this example, we have set wrap to "false", which will stop the carousel from sliding when the last item is shown.</p>
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="500" data-wrap="false">
<div id="myCarousel" class="carousel slide" data-ride="carousel" data-interval="500" data-wrap="false">
<!-- Indicators -->
<!-- Indicators -->
Line 18: Line 15:
</div>
</div>
<div class="item">
<div class="item">
<img src="akashi.jpg" alt="Chania" width="460" height="345">
[[File:akashi.jpg"]]
</div>
</div>
<div class="item">
<div class="item">
<img src="kinojo.jpg" alt="Flower" width="460" height="345">
[[File:kinojo.jpg]]
</div>
</div>
<div class="item">
<div class="item">
<img src="matsue.jpg" alt="Flower" width="460" height="345">
[[File:matsue.jpg]]
</div>
</div>
</div>
</div>

Revision as of 21:58, 23 July 2017