aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/carousel.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-12-04 19:18:29 -0800
committerChris Rebert <[email protected]>2014-12-04 19:18:29 -0800
commit0c5a5563b271a6a15db7452f8f4878d4bd797074 (patch)
tree5797ffeb3d82a32395e5553e90a5adf2a7ad1980 /docs/_includes/js/carousel.html
parentac49a0990689439be471752f6c5ea8a91256ad32 (diff)
parent44447eeefe61dbb16cab59900c3c061d9f207fbc (diff)
downloadbootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.tar.xz
bootstrap-0c5a5563b271a6a15db7452f8f4878d4bd797074.zip
Merge pull request #15214 from twbs/example-ids
Give all embedded live docs examples data-example-id attrs [skip sauce]
Diffstat (limited to 'docs/_includes/js/carousel.html')
-rw-r--r--docs/_includes/js/carousel.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html
index abd2890b8..bf2fbecec 100644
--- a/docs/_includes/js/carousel.html
+++ b/docs/_includes/js/carousel.html
@@ -4,7 +4,7 @@
<p>A slideshow component for cycling through elements, like a carousel. <strong>Nested carousels are not supported.</strong></p>
<h2 id="carousel-examples">Examples</h2>
- <div class="bs-example">
+ <div class="bs-example" data-example-id="simple-carousel">
<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>
@@ -87,7 +87,7 @@
<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 class="bs-example" data-example-id="carousel-with-captions">
<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>