1

[SOLVED] PHP navbar

view story
linux-howto

http://www.linuxquestions.org – Hi all, I've got a mini-site made of three files: header.php index.php footer.php Index.php and other files include the header and footer when launched. My question is: How do you handle the class="active" tag on the current navbar item? So if I'm on index.php, the index.php navbar button is active,.. if i go to sysinfo.php, the sysinfo.php button is active and so on. Im not seeing a clear way to do this, because the header.php is unaware of what the actual page is. Anyone have a good explanation for how to do this? (HowTos)