I have a page with a lot of text and decided to go with a fixed navbar that makes it easier to jump between sections. It works just fine, but instead of having the page jump between divs I'd like to have it scroll up and down.
This is what I have so far;
<ul>
<li><a href="#2010">2010</a></li>
<li><a href="#2009">2009</a></li>
<li><a href="#2008">2008</a></li>
<li><a href="#2007">2007</a></li>
<li><a href="#2006">2006</a></li>
<li><a href="#2005">2005</a></li>
<li><a href="#2003">2003</a></li>
<li><a href="#1999">1999</a></li>
<ul>
<div id="2010"></div>
<div id="2009"></div>
<div id="2008"></div>``
<div id="2007"></div>
<div id="2006"></div>
<div id="2005"></div>
<div id="2003"></div>
<div id="1999"></div>
Also, it it possible to have the li element that directs to the div that is showing be another colour than the other li elements?