Trouble with an one page navigation - updating/highlighting active state and scroll to anchor
问题 I'm already busy with a one page navigation. Below you will find more information about the problem and my wish. How should it work? Once a navigation item is clicked, scroll to its particular section and update the active class of the menu. And if the page is scrolled to its particular section, it should update the active state too - so change the class to its particular anchor. Fixed header For the website I also used a fixed header, so this should NOT be overlay the particular section. So