Hi, I am trying to install a menu bar the one at:
http://www.dynamicdrive.com/style/cs...color-tabs-ii/

I would like to use put the menu section itself in one single header file and call it up from different paces through a server side include tag.

So this file will have the equivialent of the following info:

<div id="invertedtabsline">&nbsp;</div>
<div id="invertedtabs">
<ul>
<li style="margin-left: 1px"><a href="http://www.dynamicdrive.com" title="Home"><span>Home</span></a></li>
<li><a href="http://www.dynamicdrive.com/new.htm" title="New"><span>New</span></a></li>
<li id="current"><a href="http://www.dynamicdrive.com/revised.htm" title="Revised"><span>Revised</span></a></li>
<li><a href="http://tools.dynamicdrive.com" title="Tools"><span>Tools</span></a></li>
<li><a href="http://www.dynamicdrive.com/forums/" title="DHTML Forums"><span>Forums</span></a></li>
</ul>
</div>
<br style="clear: left" />


My question is, how do I get it so the id="current" changes automatically to match whichever page it is being view. In other word, if I am looking at page A, the bg on the link Page will change to a different color and etc..

The only way that I know so far is to put the menu section above on each page and manually change the id="current" for each page. This is a lot of work and can be a maintenance mightmare. Is there an easier way.

Thanks in advance.