Looking for a bit of specific help on changing the state of a navigation component. I’ve attached the file and you can see that the side navigation component functions as intended but I want to add another feature to it.
This would involve each of the navigation menu items changing state when the user was in that section of the page. Essntially the menu item would change colour when the user scrolled to a certain part of the page. I’ve used this functionality already for the navigation component but can’t quite figure out the second step.
For infomation it should function like this website: https://www.st-andrews.ac.uk/subjects/earth-environmental-sciences/earth-sciences-mgeol/
Any support greatly appreciated.
PGT programme page.rp (158.5 KB)