mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-25 22:41:20 +02:00
placeholder design for carousel
This commit is contained in:
@@ -118,8 +118,8 @@
|
||||
<td>The collapse plugin offers simple, generic collapsible element support for making accordions and other collapsible ui components.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a href="./javascript.html#collapse">bootstrap-carousel.js</a></td>
|
||||
<td>Carousel add</td>
|
||||
<td><a href="./javascript.html#carousel">bootstrap-carousel.js</a></td>
|
||||
<td>A plugin for rotating through elements. A merry-go-round.</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -1015,7 +1015,7 @@ $('#myCollapsible').on('hidden', function () {
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="span3 columns">
|
||||
<p>The carousel plugin creates a carousel douh..</p>
|
||||
<p>A generic plugin for cycling through elements. A merry-go-round.</p>
|
||||
<a href="../js/bootstrap-carousel.js" target="_blank" class="btn primary">Download</a>
|
||||
</div>
|
||||
<div class="span9 columns">
|
||||
@@ -1023,19 +1023,40 @@ $('#myCollapsible').on('hidden', function () {
|
||||
<pre class="prettyprint linenums">$('.carousel').carousel()</pre>
|
||||
<h3>Markup</h3>
|
||||
<p>Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.</p>
|
||||
<pre class="prettyprint linenums"></pre>
|
||||
<pre class="prettyprint linenums">
|
||||
<div class="thumbnail carousel">
|
||||
|
||||
<!-- navigation -->
|
||||
<a class="nav" href="#myCarousel" data-show="next">&lt;</a>
|
||||
<a class="nav" href="#myCarousel" data-show="previous">&gt;</a>
|
||||
|
||||
<!-- items -->
|
||||
<div class="item active">
|
||||
<img src="http://placehold.it/1100x350">
|
||||
<div class="caption">
|
||||
<h5>Thumbnail label</h5>
|
||||
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. </p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<img src="http://placehold.it/1100x350">
|
||||
<div class="caption">
|
||||
<h5>Thumbnail label</h5>
|
||||
<p>Donec id elit non mi porta gravida at eget metus.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</pre>
|
||||
<h3>Demo</h3>
|
||||
|
||||
<!-- carousel -->
|
||||
<div class="thumbnail carousel">
|
||||
|
||||
<div class="item active">
|
||||
<img src="http://placehold.it/1100x350" alt="">
|
||||
<div class="caption">
|
||||
<h5>Thumbnail label</h5>
|
||||
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div id="myCarousel" class="thumbnail carousel">
|
||||
|
||||
<a class="left nav" href="#myCarousel" data-show="next">«</a>
|
||||
<a class="right nav" href="#myCarousel" data-show="previous">»</a>
|
||||
|
||||
<div class="item active">
|
||||
<img src="http://placehold.it/1100x350" alt="">
|
||||
@@ -1053,10 +1074,16 @@ $('#myCollapsible').on('hidden', function () {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="item">
|
||||
<img src="http://placehold.it/1100x350" alt="">
|
||||
<div class="caption">
|
||||
<h5>Thumbnail label</h5>
|
||||
<p>Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user