diff --git a/docs/_includes/js/affix.html b/docs/_includes/js/affix.html index 56168d6a896611aa78268589d1885a17a3ae58ee..f32b376de5f941dc95c496dd83f7bdc742688d25 100644 --- a/docs/_includes/js/affix.html +++ b/docs/_includes/js/affix.html @@ -42,7 +42,7 @@ $('#myAffix').affix({ {% endhighlight %} - <h3>Options</h3> + <h3 id="affix-options">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> <div class="table-responsive"> @@ -74,7 +74,7 @@ $('#myAffix').affix({ </div><!-- /.table-responsive --> - <h3>Events</h3> + <h3 id="affix-events">Events</h3> <p>Bootstrap's affix plugin exposes a few events for hooking into affix functionality.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> diff --git a/docs/_includes/js/alerts.html b/docs/_includes/js/alerts.html index 7f539092f6b05bda8012bf3be4c1503e50e175d4..f2e70fa0171fd4d9bc79be22c6e942865b8ae3a6 100644 --- a/docs/_includes/js/alerts.html +++ b/docs/_includes/js/alerts.html @@ -35,7 +35,7 @@ <p>To have your alerts use animation when closing, make sure they have the <code>.fade</code> and <code>.in</code> classes already applied to them.</p> - <h3>Methods</h3> + <h3 id="alerts-methods">Methods</h3> <h4>$().alert()</h4> <p>Makes an alert listen for click events on descendant elements which have the <code>data-dismiss="alert"</code> attribute. (Not necessary when using the data-api's auto-initialization.)</p> @@ -44,7 +44,7 @@ <p>Closes an alert by removing it from the DOM. If the <code>.fade</code> and <code>.in</code> classes are present on the element, the alert will fade out before it is removed.</p> - <h3>Events</h3> + <h3 id="alerts-events">Events</h3> <p>Bootstrap's alert plugin exposes a few events for hooking into alert functionality.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> diff --git a/docs/_includes/js/carousel.html b/docs/_includes/js/carousel.html index c0afcdd5c7f106c22869d447f88f27f4d35a2329..02d01bc3c0534297d5cd1bee291dc3fd370e85ef 100644 --- a/docs/_includes/js/carousel.html +++ b/docs/_includes/js/carousel.html @@ -152,7 +152,7 @@ $('.carousel').carousel() {% endhighlight %} - <h3>Options</h3> + <h3 id="carousel-options">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-interval=""</code>.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -193,7 +193,7 @@ $('.carousel').carousel() </table> </div><!-- /.table-responsive --> - <h3>Methods</h3> + <h3 id="carousel-methods">Methods</h3> <h4>.carousel(options)</h4> <p>Initializes the carousel with an optional options <code>object</code> and starts cycling through items.</p> @@ -219,7 +219,7 @@ $('.carousel').carousel({ <h4>.carousel('next')</h4> <p>Cycles to the next item.</p> - <h3>Events</h3> + <h3 id="carousel-events">Events</h3> <p>Bootstrap's carousel class exposes two events for hooking into carousel functionality.</p> <p>Both events have the following additional properties:</p> <ul> diff --git a/docs/_includes/js/collapse.html b/docs/_includes/js/collapse.html index 732432e7e9f84415105c069e735fd1cf2e06836f..44d05e5366a7ef199621530b911da42d4f0841e9 100644 --- a/docs/_includes/js/collapse.html +++ b/docs/_includes/js/collapse.html @@ -161,7 +161,7 @@ $('.collapse').collapse() {% endhighlight %} - <h3>Options</h3> + <h3 id="collapse-options">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-parent=""</code>.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -190,7 +190,7 @@ $('.collapse').collapse() </table> </div><!-- /.table-responsive --> - <h3>Methods</h3> + <h3 id="collapse-methods">Methods</h3> <h4>.collapse(options)</h4> <p>Activates your content as a collapsible element. Accepts an optional options <code>object</code>. @@ -209,7 +209,7 @@ $('#myCollapsible').collapse({ <h4>.collapse('hide')</h4> <p>Hides a collapsible element.</p> - <h3>Events</h3> + <h3 id="collapse-events">Events</h3> <p>Bootstrap's collapse class exposes a few events for hooking into collapse functionality.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> diff --git a/docs/_includes/js/dropdowns.html b/docs/_includes/js/dropdowns.html index 826fe6c08a92957d9f1f2bd6c91b138af73c4fb7..28b59930924abfbf795f1c103376aa211abe64f9 100644 --- a/docs/_includes/js/dropdowns.html +++ b/docs/_includes/js/dropdowns.html @@ -155,14 +155,14 @@ $('.dropdown-toggle').dropdown() <p>Regardless of whether you call your dropdown via JavaScript or instead use the data-api, <code>data-toggle="dropdown"</code> is always required to be present on the dropdown's trigger element.</p> </div> - <h3>Options</h3> + <h3 id="dropdowns-options">Options</h3> <p><em>None</em></p> - <h3>Methods</h3> + <h3 id="dropdowns-methods">Methods</h3> <h4>$().dropdown('toggle')</h4> <p>Toggles the dropdown menu of a given navbar or tabbed navigation.</p> - <h3>Events</h3> + <h3 id="dropdowns-events">Events</h3> <p>All dropdown events are fired at the <code>.dropdown-menu</code>'s parent element.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> diff --git a/docs/_includes/js/modal.html b/docs/_includes/js/modal.html index 22924b4e7fea07fc4f77052de8b0b63c0f8cc73f..4c0d46e9b0d4598fc5b4e4c3f75e7a4534568763 100644 --- a/docs/_includes/js/modal.html +++ b/docs/_includes/js/modal.html @@ -306,7 +306,7 @@ $('#exampleModal').on('show.bs.modal', function (event) { <p>Call a modal with id <code>myModal</code> with a single line of JavaScript:</p> {% highlight js %}$('#myModal').modal(options){% endhighlight %} - <h3>Options</h3> + <h3 id="modals-options">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-backdrop=""</code>.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -353,7 +353,7 @@ $('#exampleModal').on('show.bs.modal', function (event) { </table> </div><!-- /.table-responsive --> - <h3>Methods</h3> + <h3 id="modals-methods">Methods</h3> <h4>.modal(options)</h4> <p>Activates your content as a modal. Accepts an optional options <code>object</code>.</p> @@ -375,7 +375,7 @@ $('#myModal').modal({ <p>Manually hides a modal. <strong>Returns to the caller before the modal has actually been hidden</strong> (i.e. before the <code>hidden.bs.modal</code> event occurs).</p> {% highlight js %}$('#myModal').modal('hide'){% endhighlight %} - <h3>Events</h3> + <h3 id="modals-events">Events</h3> <p>Bootstrap's modal class exposes a few events for hooking into modal functionality.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> diff --git a/docs/_includes/js/popovers.html b/docs/_includes/js/popovers.html index 8e051b27d5869629f45729d2c17fdbc5df5bdd84..a03c8d9a8db224e5a3d7a278cd6b591054a54cec 100644 --- a/docs/_includes/js/popovers.html +++ b/docs/_includes/js/popovers.html @@ -137,7 +137,7 @@ sagittis lacus vel augue laoreet rutrum faucibus."> <p>Enable popovers via JavaScript:</p> {% highlight js %}$('#example').popover(options){% endhighlight %} - <h3>Options</h3> + <h3 id="popovers-options">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-animation=""</code>.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -266,7 +266,7 @@ sagittis lacus vel augue laoreet rutrum faucibus."> <h4>.popover('destroy')</h4> <p>Hides and destroys an element's popover.</p> {% highlight js %}$('#element').popover('destroy'){% endhighlight %} - <h3>Events</h3> + <h3 id="popovers-events">Events</h3> <div class="table-responsive"> <table class="table table-bordered table-striped"> <thead> diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html index dc890068618d21abd9ac0962b587cc3ee9cf518e..d58ddbe5aacd064d57c39ad75cc0ec6614aff0ee 100644 --- a/docs/_includes/js/scrollspy.html +++ b/docs/_includes/js/scrollspy.html @@ -93,7 +93,7 @@ $('body').scrollspy({ target: '.navbar-example' }) {% endhighlight %} - <h3>Methods</h3> + <h3 id="scrollspy-methods">Methods</h3> <h4>.scrollspy('refresh')</h4> <p>When using scrollspy in conjunction with adding or removing of elements from the DOM, you'll need to call the refresh method like so:</p> {% highlight js %} @@ -103,7 +103,7 @@ $('[data-spy="scroll"]').each(function () { {% endhighlight %} - <h3>Options</h3> + <h3 id="scrollspy-options">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=""</code>.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -126,7 +126,7 @@ $('[data-spy="scroll"]').each(function () { </table> </div><!-- ./bs-table-responsive --> - <h3>Events</h3> + <h3 id="scrollspy-events">Events</h3> <div class="table-responsive"> <table class="table table-bordered table-striped"> <thead> diff --git a/docs/_includes/js/tabs.html b/docs/_includes/js/tabs.html index 69f0cc45f206abf271ffa03c47c2b84efc3c9da3..9de511b9a69cc1e1b496532226e1dff3f05d84e7 100644 --- a/docs/_includes/js/tabs.html +++ b/docs/_includes/js/tabs.html @@ -91,7 +91,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) </div> {% endhighlight %} - <h3>Methods</h3> + <h3 id="tabs-methods">Methods</h3> <h4>$().tab</h4> <p> Activates a tab element and content container. Tab should have either a <code>data-target</code> or an <code>href</code> targeting a container node in the DOM. @@ -118,7 +118,7 @@ $('#myTab li:eq(2) a').tab('show') // Select third tab (0-indexed) </script> {% endhighlight %} - <h3>Events</h3> + <h3 id="tabs-events">Events</h3> <p>When showing a new tab, the events fire in the following order:</p> <ol> <li><code>hide.bs.tab</code> (on the current active tab)</li> diff --git a/docs/_includes/js/tooltips.html b/docs/_includes/js/tooltips.html index 87893608b509909221a3d986fe36d6685f1611e8..f349d08d3e1a5cb1448dbccdc7230f564135cdc6 100644 --- a/docs/_includes/js/tooltips.html +++ b/docs/_includes/js/tooltips.html @@ -108,7 +108,7 @@ $('#example').tooltip(options) </div> {% endhighlight %} - <h3>Options</h3> + <h3 id="tooltips-options">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-animation=""</code>.</p> <div class="table-responsive"> <table class="table table-bordered table-striped"> @@ -208,7 +208,7 @@ $('#example').tooltip(options) <p>Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above.</p> </div> - <h3>Methods</h3> + <h3 id="tooltips-methods">Methods</h3> <h4>$().tooltip(options)</h4> <p>Attaches a tooltip handler to an element collection.</p> @@ -229,7 +229,7 @@ $('#example').tooltip(options) <p>Hides and destroys an element's tooltip.</p> {% highlight js %}$('#element').tooltip('destroy'){% endhighlight %} - <h3>Events</h3> + <h3 id="tooltips-events">Events</h3> <div class="table-responsive"> <table class="table table-bordered table-striped"> <thead> diff --git a/docs/_includes/nav/javascript.html b/docs/_includes/nav/javascript.html index a1695bce82addf5c9b4b00553c2c1e5d3e4592d4..711713e432c97df5d2b9be465e4b3a5aab5928af 100644 --- a/docs/_includes/nav/javascript.html +++ b/docs/_includes/nav/javascript.html @@ -19,6 +19,9 @@ <li><a href="#modals-remove-animation">Remove animation</a></li> <li><a href="#modals-related-target">Varying content based on trigger button</a></li> <li><a href="#modals-usage">Usage</a></li> + <li><a href="#modals-options">Options</a></li> + <li><a href="#modals-methods">Methods</a></li> + <li><a href="#modals-events">Events</a></li> </ul> </li> <li> @@ -26,6 +29,8 @@ <ul class="nav"> <li><a href="#dropdowns-examples">Examples</a></li> <li><a href="#dropdowns-usage">Usage</a></li> + <li><a href="#dropdowns-methods">Methods</a></li> + <li><a href="#dropdowns-events">Events</a></li> </ul> </li> <li> @@ -33,6 +38,9 @@ <ul class="nav"> <li><a href="#scrollspy-examples">Examples</a></li> <li><a href="#scrollspy-usage">Usage</a></li> + <li><a href="#scrollspy-methods">Methods</a></li> + <li><a href="#scrollspy-options">Options</a></li> + <li><a href="#scrollspy-events">Events</a></li> </ul> </li> <li> @@ -40,6 +48,8 @@ <ul class="nav"> <li><a href="#tabs-examples">Examples</a></li> <li><a href="#tabs-usage">Usage</a></li> + <li><a href="#tabs-methods">Methods</a></li> + <li><a href="#tabs-events">Events</a></li> </ul> </li> <li> @@ -47,6 +57,9 @@ <ul class="nav"> <li><a href="#tooltips-examples">Examples</a></li> <li><a href="#tooltips-usage">Usage</a></li> + <li><a href="#tooltips-options">Options</a></li> + <li><a href="#tooltips-methods">Methods</a></li> + <li><a href="#tooltips-events">Events</a></li> </ul> </li> <li> @@ -54,6 +67,8 @@ <ul class="nav"> <li><a href="#popovers-examples">Examples</a></li> <li><a href="#popovers-usage">Usage</a></li> + <li><a href="#popovers-options">Options</a></li> + <li><a href="#popovers-events">Events</a></li> </ul> </li> <li> @@ -61,6 +76,8 @@ <ul class="nav"> <li><a href="#alerts-examples">Examples</a></li> <li><a href="#alerts-usage">Usage</a></li> + <li><a href="#alerts-methods">Methods</a></li> + <li><a href="#alerts-events">Events</a></li> </ul> </li> <li> @@ -77,6 +94,9 @@ <ul class="nav"> <li><a href="#collapse-examples">Examples</a></li> <li><a href="#collapse-usage">Usage</a></li> + <li><a href="#collapse-options">Options</a></li> + <li><a href="#collapse-methods">Methods</a></li> + <li><a href="#collapse-events">Events</a></li> </ul> </li> <li> @@ -84,6 +104,9 @@ <ul class="nav"> <li><a href="#carousel-examples">Examples</a></li> <li><a href="#carousel-usage">Usage</a></li> + <li><a href="#carousel-options">Options</a></li> + <li><a href="#carousel-methods">Methods</a></li> + <li><a href="#carousel-events">Events</a></li> </ul> </li> <li> @@ -91,5 +114,7 @@ <ul class="nav"> <li><a href="#affix-examples">Examples</a></li> <li><a href="#affix-usage">Usage</a></li> + <li><a href="#affix-options">Options</a></li> + <li><a href="#affix-events">Events</a></li> </ul> </li>