Commit aaf1825b authored by Mark Otto's avatar Mark Otto

fix example code for carousel

parent fe30bd60
...@@ -1347,7 +1347,7 @@ $('#myCollapsible').on('hidden', function () { ...@@ -1347,7 +1347,7 @@ $('#myCollapsible').on('hidden', function () {
<h3>Markup</h3> <h3>Markup</h3>
<p>Data attributes are used for the previous and next conrols. Check out the example markup below.</p> <p>Data attributes are used for the previous and next conrols. Check out the example markup below.</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;div id="myCarousel" class="carousel"&gt; &lt;div id="myCarousel" class="carousel slide"&gt;
&lt;!-- Carousel items --&gt; &lt;!-- Carousel items --&gt;
&lt;div class="carousel-inner"&gt; &lt;div class="carousel-inner"&gt;
&lt;div class="active item"&gt;&lt;/div&gt; &lt;div class="active item"&gt;&lt;/div&gt;
......
...@@ -1270,7 +1270,7 @@ $('#myCollapsible').on('hidden', function () { ...@@ -1270,7 +1270,7 @@ $('#myCollapsible').on('hidden', function () {
<h3>{{_i}}Markup{{/i}}</h3> <h3>{{_i}}Markup{{/i}}</h3>
<p>{{_i}}Data attributes are used for the previous and next conrols. Check out the example markup below.{{/i}}</p> <p>{{_i}}Data attributes are used for the previous and next conrols. Check out the example markup below.{{/i}}</p>
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;div id="myCarousel" class="carousel"&gt; &lt;div id="myCarousel" class="carousel slide"&gt;
&lt;!-- {{_i}}Carousel items{{/i}} --&gt; &lt;!-- {{_i}}Carousel items{{/i}} --&gt;
&lt;div class="carousel-inner"&gt; &lt;div class="carousel-inner"&gt;
&lt;div class="active item"&gt;&lt;/div&gt; &lt;div class="active item"&gt;&lt;/div&gt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment