We've developed a couple of websites for work and one of the guys is asking if it's possible to access and modify the header and footer information that gets printed out by using code. I haven't seen anything that allows this but I know there's a couple of code gurus here which know more than me.

Something else that has popped up is we've got some javascript building a path for a file but this guy want's to add one of those #name anchors to the end so it scrolls down the page. Looking logically at the path as it's built, it should, but I suspect that as it's javascript driven and accessing an object, it doesn't function the same as when you're clicking on links through the browser.

QUOTE

function clickHandler() {
 var targetId, srcElement, targetElement, targetpath;
 srcElement = window.event.srcElement;
 targetpath = srcElement.id + "" + srcElement.id + "_overview.html";
 if (srcElement.className == "menu") {
    targetId = srcElement.id + "_submenu";
    targetElement = document.all(targetId);
    if (targetElement.style.display == "none") {
       targetElement.style.display = "";
       parent.main.location.href = targetpath;
    } else {
       targetElement.style.display = "none";
    }
 }
}
document.0nclick = clickHandler;
Where it says "_overview.html", we thought we could have "_overview.html#topic" but that doesn't work.

Any ideas?