diff options
Diffstat (limited to 'docs/javascript.html')
| -rw-r--r-- | docs/javascript.html | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/javascript.html b/docs/javascript.html index d956ffaf3..a10360bf3 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1422,6 +1422,11 @@ $('#myCollapsible').on('hidden', function () { <p>The slideshow below shows a generic plugin and component for cycling through elements like a carousel.</p> <div class="bs-docs-example"> <div id="myCarousel" class="carousel slide"> + <ol class="carousel-indicators"> + <li class="active"></li> + <li></li> + <li></li> + </ol> <div class="carousel-inner"> <div class="item active"> <img src="assets/img/bootstrap-mdo-sfmoma-01.jpg" alt=""> @@ -1671,14 +1676,6 @@ $('.carousel').carousel({ <p>Call the affix plugin via JavaScript:</p> <pre class="prettyprint linenums">$('#navbar').affix()</pre> - <h3>Methods</h3> - <h4>.affix('refresh')</h4> - <p>When using affix in conjunction with adding or removing of elements from the DOM, you'll want to call the refresh method:</p> -<pre class="prettyprint linenums"> -$('[data-spy="affix"]').each(function () { - $(this).affix('refresh') -}); -</pre> <h3>Options</h3> <p>Options can be passed via data attributes or JavaScript. For data attributes, append the option name to <code>data-</code>, as in <code>data-offset-top="200"</code>.</p> <table class="table table-bordered table-striped"> |
