diff --git a/docs/_includes/js/scrollspy.html b/docs/_includes/js/scrollspy.html index 989c7ea5e8..9767254e0d 100644 --- a/docs/_includes/js/scrollspy.html +++ b/docs/_includes/js/scrollspy.html @@ -83,6 +83,10 @@ $('body').scrollspy({ target: '.navbar-example' })

Resolvable ID targets required

Navbar links must have resolvable id targets. For example, a <a href="#home">home</a> must correspond to something in the DOM like <div id="home"></div>.

+
+

Non-:visible target elements ignored

+

Target elements that are not :visible according to jQuery will be ignored and their corresponding nav items will never be highlighted.

+

Methods

.scrollspy('refresh')