diff options
| author | Steven Black <[email protected]> | 2015-02-25 04:00:37 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2015-03-03 18:22:09 +0200 |
| commit | 457885075f8fa004f3a190efdcf381af218e1bb7 (patch) | |
| tree | 2bca5372ef834b621c63a3af1ed4e84d1bf7ddda /docs/_includes/js/carousel.html | |
| parent | 420a8088a4086cf06d930070404531cba8db8a8d (diff) | |
| download | bootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.tar.xz bootstrap-457885075f8fa004f3a190efdcf381af218e1bb7.zip | |
Javascript docs: Accessibility and cosmetic changes to headings.
Closes #15915 by merging it.
Diffstat (limited to 'docs/_includes/js/carousel.html')
| -rw-r--r-- | docs/_includes/js/carousel.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index 6234032fb..7d9d78367 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -195,7 +195,7 @@ $('.carousel').carousel() <h3 id="carousel-methods">Methods</h3> - <h4>.carousel(options)</h4> + <h4><code>.carousel(options)</code></h4> <p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p> {% highlight js %} $('.carousel').carousel({ @@ -203,20 +203,20 @@ $('.carousel').carousel({ }) {% endhighlight %} - <h4>.carousel('cycle')</h4> + <h4><code>.carousel('cycle')</code></h4> <p>Cycles through the carousel items from left to right.</p> - <h4>.carousel('pause')</h4> + <h4><code>.carousel('pause')</code></h4> <p>Stops the carousel from cycling through items.</p> - <h4>.carousel(number)</h4> + <h4><code>.carousel(number)</code></h4> <p>Cycles the carousel to a particular frame (0 based, similar to an array).</p> - <h4>.carousel('prev')</h4> + <h4><code>.carousel('prev')</code></h4> <p>Cycles to the previous item.</p> - <h4>.carousel('next')</h4> + <h4><code>.carousel('next')</code></h4> <p>Cycles to the next item.</p> <h3 id="carousel-events">Events</h3> |
