I have a single page website which has a fixed floating nav. I want to be able to highlight which section the user is on by adding a class of say \"on\" to the relevant navi
You could grab the window's scrollTop with
var scrollTop=$(window).scrollTop();
http://api.jquery.com/scrollTop
Then you go through the content Once you figured that your are scrolled to the content of, say, your portfolio you add the relevant class to the nav element.