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/javascript.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/javascript.html') 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 () {

Markup

Data attributes are integral to the carousel plugin. Check out the example code below for the various markup types.

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