highlight active menu
-
Who could help me with my active menu item.
The way my website is now, I don′t know where I am on the site, since the active menu item of the page I′m visiting isn′t highlighted to make it different from the non active menu items. Now, it only is highlighted when hovering the item.
So, I would like the active menu item (also if it is just a sub menu item) to be in white for as long as I am visiting that page in order to highlight the current page that you I′m on. I would love it to get back to light grey (like it is now when it is inactive) as soon as I leave the active page.
I already tried:
$(‘.menu a’).filter(function() {
return this.href == url;
}).addClass(‘better-active’);Does anyone know the solution?
The page I need help with: [log in to see the link]
- The topic ‘highlight active menu’ is closed to new replies.