Automatically highlight current page in menu via Javascript
Whenever one builds a website, one issue is always guaranteed time consuming: highlighting the current page or section in the website with a different style. In theory, this is relatively simple, just add a .current class to the link in question. So, if you have a menu styled from a list, you’d have: <ul> <li><a [...]
Full Story