I have a single page site with a fixed floating navigator. I want to indicate in which section the user is included by adding the say "on" class to the corresponding navigation tag.
This class must be deleted if the user is no longer in this section, and the new current section should then be reflected in the navigator.
This cannot be done using the click function, as the user could simply scroll up and down the page. I know the idea if this can be done or where to start, since my jQuery is VERY limited.
Any help would be really appreciated.
Here is my current webpage that has no active highlighting: http://ec2.dragonstaff.com/www.creativegems.co.uk/
source
share