Here is jquery i got from stackoverflow as well.
$('ul.navigation').find('a').click(function(){
var $href = $(this).attr('href');
var $anchor = $('#'+$href).offset();
$('body').animate({ scrollTop: $anchor.top });
return false;
});
Here is my nav
<ul class="navigation">
<li><a href="#" class="home selected">HOME</a></li>
<li><a href="#aboutMe" class="aboutMe">ABOUT ME</a></li>
<li><a href="#services" class="services">SERVICES</a></li>
<li><a href="#portfolio" class="portfolio">PORTFOLIO</a></li>
<li><a href="#something" class="something">SOMETHING TO READ</a></li>
<li><a href="#contactMe" class="contactMe">CONTACT ME</a></li>
</ul>
It jumps on the correct id but it does animate. Animation part is what I'm missing. Thanks in advance!