From 55455720b261fae211fb4a29cf1b1fbd8405305b Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Fri, 26 Sep 2014 18:27:14 -0700 Subject: [PATCH] Port #14654 over to hosted docs --- javascript/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/javascript/index.html b/javascript/index.html index 4be25fbc96..227515b8a3 100644 --- a/javascript/index.html +++ b/javascript/index.html @@ -726,6 +726,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>.