diff options
Diffstat (limited to 'javascript.html')
| -rw-r--r-- | javascript.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/javascript.html b/javascript.html index 67cc9779f..5eb742cd2 100644 --- a/javascript.html +++ b/javascript.html @@ -1665,7 +1665,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () { <h2 id="carousel-examples">Examples</h2> <p>The slideshow below shows a generic plugin and component for cycling through elements like a carousel.</p> <div class="bs-example"> - <div id="carousel-example-generic" class="carousel slide bs-docs-carousel-example"> + <div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-generic" data-slide-to="1"></li> @@ -1691,7 +1691,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () { </div> </div><!-- /example --> {% highlight html %} -<div id="carousel-example-generic" class="carousel slide"> +<div id="carousel-example-generic" class="carousel slide" data-ride="carousel"> <!-- Indicators --> <ol class="carousel-indicators"> <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li> @@ -1727,7 +1727,7 @@ $('#myCollapsible').on('hidden.bs.collapse', function () { <h3>Optional captions</h3> <p>Add captions to your slides easily with the <code>.carousel-caption</code> element within any <code>.item</code>. Place just about any optional HTML within there and it will be automatically aligned and formatted.</p> <div class="bs-example"> - <div id="carousel-example-captions" class="carousel slide bs-docs-carousel-example"> + <div id="carousel-example-captions" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li data-target="#carousel-example-captions" data-slide-to="0" class="active"></li> <li data-target="#carousel-example-captions" data-slide-to="1"></li> |
