[Our Service] Highlight Current Menu Button

Highlight the menu button for the currently viewed web page, with this small JavaScript function. Click around the demo menu below to see the highlighted menu button change depending on what page is being viewed.

Works in all browsers and IE8+

Please view the source of this page for HTML markup, CSS and JS.

Back to the main demo

Go back to the main demo page to learn more about this JavaScript function.

More demos and snippets

Did you find this useful? There are more demos and code snippets this way.