Hello

I'm trying to get a sticky self-highlighting sidenav to work, and am having 
one heck of a time figuring out what I'm missing.  The content includes the 
data-spy="scroll" data-target=".sidenav" attributes, yet only the last item 
in the sidenav is highlighted, and none of the sidenav items highlight on 
scrolling.  I have an example jsfiddle:

http://jsfiddle.net/b8JkE/

(adjust the width of the result pane so the .sidenav floats to the left 
side)

Following the docs 
http://twitter.github.com/bootstrap/javascript.html#scrollspy

The $('.sidenav') is affix()'ed. The div.sidenav has a ul w/ class="nav 
nav-tabs nav-stacked". There's a content div w/ data-spy="scroll" 
data-target=".sidenav" and yet, on page load, the last item in the 
navigation is highlighted, and nothing updates on scroll. What am I missing?

Reply via email to