01-05-2007, 11:05 PM
Hello guys,i need some help.i wanna include a menu,which to change the style of the link by clicking on a link from it.here is the link (http://tabletennis-bg.org) to that menu. How can i do that,i don't have an idea.how can i make it to "understand" that you're on a page of the link and to change its style.i'll be gratefull if you give me an example.thank you in advance!
Sorry for my bad english
01-06-2007, 04:43 AM
Ok, so you want it to highlight when you are on that page?
what you do is put a variable at the top of each page eg
<? $page = "homepage"; ?>
Then you have a navigatation page that is included with include (if you see what i mean)
anyway in your navigation page all you have to do is use switch
echo ' insert your code here';
echo ' insert code here ';
default: echo ' what you want the default to be';