Detect and highlight active menu item
By
Ken Hawkins
Use this pattern to automatically highlight the current menu item depending on path.
Contribute a pattern
Have a great way of doing something, add it to the Style Lab. Here's how
Implementation code
Get a zip with all the sample HTML and any spaecial CSS or JS needed: Download a ZIP file More on how to use this