aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes/js/scrollspy.html
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-11-13 12:24:03 -0800
committerChris Rebert <[email protected]>2014-11-13 12:24:03 -0800
commit3a96a80a1b304518879e73f945ea254b9aa023a9 (patch)
tree4973ebc5cce32bbb9d86889cf0a3e2068d42d776 /docs/_includes/js/scrollspy.html
parent101940b452d1def46882f0d01f81f6e596f1e8cf (diff)
parentea407666ce3c5d708b4a830fb2d00bdcb0d2d53e (diff)
downloadbootstrap-3a96a80a1b304518879e73f945ea254b9aa023a9.tar.xz
bootstrap-3a96a80a1b304518879e73f945ea254b9aa023a9.zip
Merge pull request #15093 from twbs/id-callouts
Give all docs callouts IDs [skip sauce]
Diffstat (limited to 'docs/_includes/js/scrollspy.html')
-rw-r--r--docs/_includes/js/scrollspy.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html
index d58ddbe5a..4f660b40e 100644
--- a/docs/_includes/js/scrollspy.html
+++ b/docs/_includes/js/scrollspy.html
@@ -51,15 +51,15 @@
<h2 id="scrollspy-usage">Usage</h2>
- <div class="bs-callout bs-callout-warning">
+ <div class="bs-callout bs-callout-warning" id="callout-scrollspy-needs-nav">
<h4>Requires Bootstrap nav</h4>
<p>Scrollspy currently requires the use of a <a href="../components/#nav">Bootstrap nav component</a> for proper highlighting of active links.</p>
</div>
- <div class="bs-callout bs-callout-danger">
+ <div class="bs-callout bs-callout-danger" id="callout-scrollspy-target-ids">
<h4>Resolvable ID targets required</h4>
<p>Navbar links must have resolvable id targets. For example, a <code>&lt;a href="#home"&gt;home&lt;/a&gt;</code> must correspond to something in the DOM like <code>&lt;div id="home"&gt;&lt;/div&gt;</code>.</p>
</div>
- <div class="bs-callout bs-callout-info">
+ <div class="bs-callout bs-callout-info" id="callout-scrollspy-invisible-targets">
<h4>Non-<code>:visible</code> target elements ignored</h4>
<p>Target elements that are not <a href="http://api.jquery.com/visible-selector/"><code>:visible</code> according to jQuery</a> will be ignored and their corresponding nav items will never be highlighted.</p>
</div>