From ccecb7cde4f954a8941100b24c1b0c2008088276 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 22 Sep 2014 20:27:23 -0700 Subject: [PATCH] fixes #14654: callout for scrollspy-nav link --- docs/_includes/js/scrollspy.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html index c68ec32a46..68d3b853c3 100644 --- a/docs/_includes/js/scrollspy.html +++ b/docs/_includes/js/scrollspy.html @@ -51,6 +51,11 @@

Usage

+
+

Requires Bootstrap nav

+

Scrollspy currently requires the use of a Bootstrap nav component for proper highlighting of active links.

+
+

Requires relative positioning

No matter the implementation method, scrollspy requires the use of position: relative; on the element you're spying on. In most cases this is the <body>.

-- 2.47.2