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
> >
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 whic
am trying to accomplish something utlizing PHP. What I have is a menu
marked up as such:
About Me
Skill set
Hire
Me
Portfolio
Contact
Résumé
http://inspiredevolution.blogs.com/inspiredevolutioncom/";
title="the blog for Inspired-Evolution.com" >Blog
RSS
and then I have everything styled nic
3 matches
Mail list logo