From: Mark Otto Date: Tue, 23 Sep 2014 03:27:23 +0000 (-0700) Subject: fixes #14654: callout for scrollspy-nav link X-Git-Tag: v3.3.0~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccecb7cde4f954a8941100b24c1b0c2008088276;p=thirdparty%2Fbootstrap.git fixes #14654: callout for scrollspy-nav link --- 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>.