i have a nav for my site, when you are on a page of the site that part of the nav is a diffrent color,
f you go to my site
http://dhost.info/eyece/
and just move around a bit you can see that it changes, but the way i have it now is every diffrent page has a diffrent table in it, so if i want to add somthing tothe nav i will have to edit heaps of pages,
i need to make it that i put a script on a page and it will change the backround of a cell in my nav when the page loads
that way i can have a diffrent background for the part your on but still be able to add to the nav
i downloaded this one script, it was a java script i put in my head tag, and i put a bit of code in the <table> tag of my table and it would change the background of a cell when my mouse moved over it, i could exclude cells by changing the id of the cell to "ignore"
so i tryed ignoring all but the one i want to change, but that still means i have to have a diffrent table for each page, so if i wanted to add a new link to the nav i would still have to edit ever page
can anyone help me on this?