View Full Version : Include strange menu
01-05-2007, 10: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, 03: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';
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.