PHP question
PHP question
Out of context: Reply #6
- Started
- Last post
- 6 Responses
- asprin0
I'm currently doing this on a couple of sites and am using PHP...not much task for the server as this is one of the very few things that I'm doing with php.
here's where I picked it up:
http://www.alistapart.com/articl…basically you declare at the top of each page the name for the page...
$thispage='home' etc.then in the nav you write the statement after each anchor saying if $thispage=home echo 'class=on... etc.
good luck