I want to have a fixed top nav and use twitter affix.
<nav class="navbar">
<ul id="siteMenu" class="nav">
<li><a href="#homeSection" class="active">HOME</a></li>
<li><a href="#aboutSection" class="active">ABOUT</a></li>
<li><a href="#worksSection" class="active">WORKS</a></li>
.
.
.
</ul>
</nav>
and below that i have the divs:
<section id="homeSection" class="row">
.
.
.
</section>
<section id="aboutSection" class="row">
.
.
.
</section>
<section id="worksSection" class="row">
.
.
.
</section>
my goal is to get the correct element in the nav marked (class = active), and to scroll to the correct div when i click it.