In Mozilla document.all is undefined or false, so everything here (in red) will not fire:
Code:
<!--//--><![CDATA[//><!--
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
}
node.onmouseout=function() {
this.className=this.className.replace(" over", "");
}
}
}
}
}
window.onload=startList;
//--><!]]>
Also, the green parts are not needed in an external script and could possibly cause problems in some browsers, though in this particular case I doubt it, safest thing is to get rid of them.
Try getting rid of the green and changing this:
Code:
if (document.all&&document.getElementById) {
to this:
Code:
if (document.getElementById) {
Without testing, it looks like that should at least get it doing something in Mozilla, let us know.
Bookmarks