[eluser]Creative Stasis[/eluser]
Code:
<a href="#">uri->segment(1)=='home'?' class="active"':'')?>>Home</a>
Slightly less code if you are to go that way... though this will hardcode your urls to the ones you specify. For instance if you change home to index, or main... you'll have to go in and change it in your code.
Edit : Can't seem to get that code to edit..
<a href="#">uri->segment(1)=='home'?' class="active"':'')?>>Home</a>
Edit again... Nevermind I can't get it to post the right code. It's removing all of opening tags. You're missing <=($this->
That's really annoying.