aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-09-22 20:27:23 -0700
committerMark Otto <[email protected]>2014-09-22 20:27:23 -0700
commitccecb7cde4f954a8941100b24c1b0c2008088276 (patch)
tree8701be4305a3458bdbe09aba607005afd40093fe /docs
parent5cba9ba5646a93765bd1ae1e2f0e005fac94663d (diff)
downloadbootstrap-ccecb7cde4f954a8941100b24c1b0c2008088276.tar.xz
bootstrap-ccecb7cde4f954a8941100b24c1b0c2008088276.zip
fixes #14654: callout for scrollspy-nav link
Diffstat (limited to 'docs')
-rw-r--r--docs/_includes/js/scrollspy.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html
index c68ec32a4..68d3b853c 100644
--- a/docs/_includes/js/scrollspy.html
+++ b/docs/_includes/js/scrollspy.html
@@ -51,6 +51,11 @@
<h2 id="scrollspy-usage">Usage</h2>
+ <div class="bs-callout bs-callout-warning">
+ <h4>Requires Bootstrap nav</h4>
+ <p>Scrollspy currently requires the use of a Bootstrap nav component for proper highlighting of active links.</p>
+ </div>
+
<h3>Requires relative positioning</h3>
<p>No matter the implementation method, scrollspy requires the use of <code>position: relative;</code> on the element you're spying on. In most cases this is the <code>&lt;body&gt;</code>.</p>