I am creating a menu that I’m going to ebmed into my templates. How would I be able to show my users which menu item is the one they are currently on?
I’d like to do it semilar to how it’s done here on the site. The active menu item gets it’s own class (class=“current”).
Maybe someone knows how that can be done. Thank you!
<ul id="supportMenu">
<li><a href="http://expressionengine.com/docs/">User Guide</a></li>
<li class="current"><a href="http://expressionengine.com/knowledge_base/">Knowledge Base</a></li>
<li ><a href="http://expressionengine.com/wiki/">Wiki</a></li>
<li><a href="http://ellislab.com/forums/">Forum</a></li>
<li ><a href="http://expressionengine.com/developers/">Developers</a></li>
<li ><a href="http://expressionengine.com/bug_tracker/">Bug Tracker</a></li>
</ul>