Ok, so here's my navigation code. <li><a href="#" title="title goes here." class="current"><span>Company</span></a></li> <li><a href="#" title="title goes here."><span>Services</span></a></li> <li><a href="#" title="title goes here."><span>Resources</span></a></li> <li><a href="#" title="title goes here."><span>Media</span></a></li> <li><a href="#" title="title goes here."><span>Contact</span></a></li> <li><a href="#" title="title goes here."><span>Careers</span></a></li> HTML: My question is here... how can I include this on every page and based on the page name, have the "class = current" for the appropriate page? Thanks! -David
Well, for anyone reading this thread who wants to know, you'd usually have an id on the body, different for each page, and then use that for your CMS reference. <body id="company"> now you have an id to reference with your PHP or whatever... a class would also do the trick. This page generates the php/whatever include with the class="current" in the first li. With static HTML pages, you simply type class="current" on the appropriate li (or a) per page. I suppose you could possibly use something goofy with static pages where each HTML page gets the unique body id, and then a creative use of child selectors in the CSS could do it too, in place of any classes. This only works if nothing is ever added to the menus though.