That answer is technically wrong because it contains a typo*. And it's also plagiarized word for word from:
richnetapps.com/automatically_highlight_current_page_in/
But that person does have a javascript solution that might work, so why not give it a try (paste the above address into your browser to navigate to the page), Hopefully that solution will not have typos.
*
Code:
<ul>
<li><a href="#">Link 1</a></li>
<li><a class=".current" href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
A class name may not begin with a period. If it does it would have to be listed in the stylesheet as:
which I'm pretty sure some if not all browsers would barf on.
Bookmarks