Are there alternative ways to implementing an "active link" navigation without using server side languages?
- by Mel
By "active" I mean to have the link pointing to the current page classed as "active." This way the link's appearance can be modified using css.
Is it possible to implement an active link navigation without using a server side language? I would like to only use CSS/HTML/jQuery if possible. If there are, what are those methods? Assuming you want to create the following structure:
<ul id="nav">
<li class="active">Home</li>
<li>About</li>
<li>Contact</li>
</ul>