aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-02-07 22:04:52 -0800
committerJacob Thornton <[email protected]>2012-02-07 22:04:52 -0800
commit04fd01d4b67b8f71fe58affb34fcf4907ccabc98 (patch)
treefe57de581bfd774d42847f7c49e6ffe2bd8b959f /docs
parent139a07754303e1e53b34a0fca3b9c0a43ee5712b (diff)
downloadbootstrap-04fd01d4b67b8f71fe58affb34fcf4907ccabc98.tar.xz
bootstrap-04fd01d4b67b8f71fe58affb34fcf4907ccabc98.zip
fix docs for carousel markup
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/bootstrap.zipbin52560 -> 52560 bytes
-rw-r--r--docs/javascript.html6
-rw-r--r--docs/templates/pages/javascript.mustache6
3 files changed, 8 insertions, 4 deletions
diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip
index 90fa63336..132c95a7b 100644
--- a/docs/assets/bootstrap.zip
+++ b/docs/assets/bootstrap.zip
Binary files differ
diff --git a/docs/javascript.html b/docs/javascript.html
index 395394d02..28c0964f0 100644
--- a/docs/javascript.html
+++ b/docs/javascript.html
@@ -1304,10 +1304,12 @@ $('#myCollapsible').on('hidden', function () {
<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">
-&lt;div class="carousel"&gt;
+&lt;div id="myCarousel" class="carousel"&gt;
&lt;!-- Carousel items --&gt;
&lt;div class="carousel-inner"&gt;
- ...
+ &lt;div class="active item"&gt;…&lt;/div&gt;
+ &lt;div class="item"&gt;…&lt;/div&gt;
+ &lt;div class="item"&gt;…&lt;/div&gt;
&lt;/div&gt;
&lt;!-- Carousel nav --&gt;
&lt;a class="carousel-control left" href="#myCarousel" data-slide="prev"&gt;&amp;lsaquo;&lt;/a&gt;
diff --git a/docs/templates/pages/javascript.mustache b/docs/templates/pages/javascript.mustache
index c24626f8a..3ff0ed8b6 100644
--- a/docs/templates/pages/javascript.mustache
+++ b/docs/templates/pages/javascript.mustache
@@ -1228,10 +1228,12 @@ $('#myCollapsible').on('hidden', function () {
<h3>{{_i}}Markup{{/i}}</h3>
<p>{{_i}}Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.{{/i}}</p>
<pre class="prettyprint linenums">
-&lt;div class="carousel"&gt;
+&lt;div id="myCarousel" class="carousel"&gt;
&lt;!-- {{_i}}Carousel items{{/i}} --&gt;
&lt;div class="carousel-inner"&gt;
- ...
+ &lt;div class="active item"&gt;…&lt;/div&gt;
+ &lt;div class="item"&gt;…&lt;/div&gt;
+ &lt;div class="item"&gt;…&lt;/div&gt;
&lt;/div&gt;
&lt;!-- {{_i}}Carousel nav{{/i}} --&gt;
&lt;a class="carousel-control left" href="#myCarousel" data-slide="prev"&gt;&amp;lsaquo;&lt;/a&gt;