I'm trying to create a navigation menu for what I expect to be an extremely long page. I'm using internal links to make it easy to get from one section or another, but the page is designed for users to scroll up and down the page quite a bit in one session. I found that internal links aren't enough to orient the user with their location on the page, so I've added smooth scrolling when an internal link is clicked. This has helped some, but I would love to change the style of the internal link if you're currently next to it.
As an example we have five links below. The user starts out at the section that corresponds with link A, so it's bold faced. When they scroll down a bit further they get to the section that corresponds with link B, so it is now bold faced. If they jump down to the section that corresponds with link E it becomes bold faced, and the same if they jump to link C.
~
Step 1...............Step 2...............Step 3...............Step 4
Link A...............Link A...............Link A...............Link A
Link B...............Link B...............Link B...............Link B
Link C...............Link C...............Link C...............Link C
Link D...............Link D...............Link D...............Link D
Link E...............Link E...............Link E...............Link E
~
Is there any way to achieve this?