Change link color when on certain page?
Posted: Tue Aug 29, 2006 3:57 am
hi
I'm new to PHP...
I have a simple menu (home, about, newsletter etc) which are in the header.php file and included in each page.
Basically what I want to do is that when the user is on the "About" page the menu "About" link will have a background color to indicate that they are on that page (and the same for other pages).
What php code does this?
thanks
nathan
I'm new to PHP...
I have a simple menu (home, about, newsletter etc) which are in the header.php file and included in each page.
Basically what I want to do is that when the user is on the "About" page the menu "About" link will have a background color to indicate that they are on that page (and the same for other pages).
What php code does this?
thanks
nathan