From 04fd01d4b67b8f71fe58affb34fcf4907ccabc98 Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Tue, 7 Feb 2012 22:04:52 -0800 Subject: fix docs for carousel markup --- docs/templates/pages/javascript.mustache | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/templates/pages/javascript.mustache') 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 () {

{{_i}}Markup{{/i}}

{{_i}}Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.{{/i}}

-<div class="carousel">
+<div id="myCarousel" class="carousel">
   <!-- {{_i}}Carousel items{{/i}} -->
   <div class="carousel-inner">
-    ...
+    <div class="active item">…</div>
+    <div class="item">…</div>
+    <div class="item">…</div>
   </div>
   <!-- {{_i}}Carousel nav{{/i}} -->
   <a class="carousel-control left" href="#myCarousel" data-slide="prev">&lsaquo;</a>
-- 
cgit v1.2.3