current style on floating menu
-
Hi guys.
Great plugin which I’ve been able to style to my liking, except one small problem.
I’m using a floating menu with #’s to link to different ID’s on the homepage.
I click on each menu item and it scroll nicely to the correct section.
However, I’d love for it to add a class when you scroll to that area, or click on it and it goes to that ID.
For example, I have 5 menu items that all relate to stacked div ID’s, so if I click on the 3rd menu item which takes me to the 3rd ID, I’d like to style that menu item to show it’s the current item in view. Likewise, when I scroll down through the ID’s for it to do the same, highlighting each menu item as I go down the page.
I hope that makes sense – I don’t have a live version of the site up yet as it’s sensitive content, but hope you have a solution.
Thanks again, great plugin with loads of options.
- The topic ‘current style on floating menu’ is closed to new replies.