diff options
| author | Chris Rebert <[email protected]> | 2014-09-26 18:27:14 -0700 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-09-26 18:27:14 -0700 |
| commit | 55455720b261fae211fb4a29cf1b1fbd8405305b (patch) | |
| tree | b792b633ea5f81981c71684869aac5ebce6cd349 /javascript | |
| parent | 31811a837c60c93ad3e7a80f0344c91fc7e00754 (diff) | |
| download | bootstrap-55455720b261fae211fb4a29cf1b1fbd8405305b.tar.xz bootstrap-55455720b261fae211fb4a29cf1b1fbd8405305b.zip | |
Port #14654 over to hosted docs
Diffstat (limited to 'javascript')
| -rw-r--r-- | javascript/index.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/javascript/index.html b/javascript/index.html index 4be25fbc9..227515b8a 100644 --- a/javascript/index.html +++ b/javascript/index.html @@ -726,6 +726,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 <a href="../components/#nav">Bootstrap nav component</a> 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><body></code>.</p> |
