You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_includes/js/scrollspy.html
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,11 @@ <h4 id="three">three</h4>
51
51
52
52
<h2id="scrollspy-usage">Usage</h2>
53
53
54
+
<divclass="bs-callout bs-callout-warning">
55
+
<h4>Requires Bootstrap nav</h4>
56
+
<p>Scrollspy currently requires the use of a Bootstrap nav component for proper highlighting of active links.</p>
57
+
</div>
58
+
54
59
<h3>Requires relative positioning</h3>
55
60
<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>
0 commit comments