Hey thanks for the response,
I'm sorry but I don't understand your answer in its entirety. CSS/JS is so not my thing :/
So I am using the nav bar to sort php generated tables which means the site never refreshes in its entirety so according to you making the classes active dynamically should be possible right?
I currently have it set up like this:
<ul id="live" class="spritesnav">
<li id="snhome" ><a href="#"></a></li>
<li id="snabout" ><a href="#"></a></li>
<li id="snservices" ><a href="#"></a></li>
<li id="sncontact" ><a href="#"></a></li>
Where the a href are replaced with php code.
The example you gave me seems strange.
Would I put class="services" into the div tag surrounding the ul? And how would it work? Would the class always change according to whichever one is active? I.E. if I click on About, would the class change to class="about"?
I guess the core thing which I don't understand is how the code recognizes which one is supposed to be active, shouldn't there be some onclick function or something like that?
Thanks a lot!