Highlighting the current link with javascript

Searches through the document looking for links, and applies the class 'currentlink' to any links which link to the current document. This means you can easily highlight the current link without any server side coding. works great for navigation tabs.

Back

Keywords: Highlighting links, Standards, Unobtrusive Javascript