This is what I came across.
http://bittu.github.com/folderGrid/
First, the last tab is highlighted, and when scrolling, it switches between two tags at each step of scrolling.
Here is a small piece of code that I used.
<body data-spy="scroll" data-target=".subnav" data-offset="50">
<div class="subnav">
<ul class="nav nav-pills">
<li><a href="#contents">Contents</a></li>
<li><a href="#config">Config Options</a></li>
<li><a href="#usage">Usage</a></li>
<li><a href="#examples">Examples</a></li>
</ul>
</div>
<div class="row">
<div class="span12">
<section id="contents">
....
</section>
<section id="config">
....
</section>
<section id="usage">
....
</section>
<section id="examples">
....
</section>
</div>
</div>
All necessary files are included. and tried all the numbers fordata-offset
source
share