[PHP] help with setting menu styles with PHP

2006-03-16 Thread Bruce Gilbert
am trying to accomplish something utlizing PHP. What I have is a menu marked up as such: div id=navcontainer ul id=navlist li id=activea href=About_Me.php title=you know you want to learn more about me id=currentAbout Me/a/li lia href=Skillset.php title=I've got skillzSkill set/a/li lia

Re: [PHP] help with setting menu styles with PHP

2006-03-16 Thread tedd
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

Re: [PHP] help with setting menu styles with PHP

2006-03-16 Thread Anthony Ettinger
I did something similar on my page. I did a simple comparison in a loop through the menu DOM, foreach ($nodeList as $node){ if ($currentPage eq $nodeHref) { //set class attribute = 'active'; } } On 3/16/06, tedd [EMAIL PROTECTED] wrote: http://www.inspired-evolution.com/About_Me.php What