Re: help with setting menu styles with PHP

From: Date: Thu, 16 Mar 2006 17:22:43 +0000
Subject: Re: help with setting menu styles with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-232040@lists.php.net to get a copy of this message
http://www.inspired-evolution.com/About_Me.php What I want to do next is to change the menu from being hard coded on all of my pages to being an include making the menu more manageable. The stumbling block is I want to be able to keep the CSS functionality where you have the active indicator which has different CSS for the link of the page you are on. I have seen this done with PHP before with something like IF on active page use this style ELSE use this style. Can any PHP gurus assist me in coding something like this? I don't believe it is too difficult, but beyond by scope right at the moment.
It's not a php solution, but you can change it to one easy enough. This will give you the idea. http://www.sperling.com/examples/menu_aware/ tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#232040) next »