Since I added in the delay I can't get this to hide the menu's on netscape 4.7 or netscape 7. I am sure it is relatively simple but I am not sure how to do it. Sorry for the really badly written code, i've been in a hurry .
<SCRIPT LANGUAGE="JavaScript">
<!--
document.onmouseover = delay_hide;
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ns6 = (document.getElementById)? true:false
function init() {
if (ie4) {
document.all('schedules').style.visibility = "hidden";
document.all('schedules').style.left = "167px";
document.all('schedules').style.top = "151px";
document.all('speakers').style.visibility = "hidden";
document.all('speakers').style.left = "167px";
document.all('speakers').style.top = "174px";
document.all('candidates').style.visibility = "hidden";
document.all('candidates').style.left = "167px";
document.all('candidates').style.top = "197px";
document.all('guests').style.visibility = "hidden";
document.all('guests').style.left = "167px";
document.all('guests').style.top = "220px";
document.all('faculty').style.visibility = "hidden";
document.all('faculty').style.left = "167px";
document.all('faculty').style.top = "243px";
document.all('maps').style.visibility = "hidden";
document.all('maps').style.left = "180px";
document.all('maps').style.top = "170px";
document.all('instructions').style.visibility = "hidden";
document.all('instructions').style.left = "381px";
document.all('instructions').style.top = "243px";
} else if (ns4) {
document.layers['schedules'].visibility = "hide";
document.layers['schedules'].left = "165";
document.layers['schedules'].top = "144";
document.layers['speakers'].visibility = "hide";
document.layers['speakers'].left = "165";
document.layers['speakers'].top = "167";
document.layers['candidates'].visibility = "hide";
document.layers['candidates'].left = "165";
document.layers['candidates'].top = "190";
document.layers['guests'].visibility = "hide";
document.layers['guests'].left = "165";
document.layers['guests'].top = "213";
document.layers['faculty'].visibility = "hide";
document.layers['faculty'].left = "165";
document.layers['faculty'].top = "236";
document.layers['maps'].visibility = "hide";
document.layers['maps'].left = "160";
document.layers['maps'].top = "170";
document.layers['instructions'].visibility = "hide";
document.layers['instructions'].left = "379";
document.layers['instructions'].top = "236";
} else if (ns6) {
document.getElementById('schedules').style.visibility = "hidden";
document.getElementById('schedules').style.left = "165";
document.getElementById('schedules').style.top = "138";
document.getElementById('speakers').style.visibility = "hidden";
document.getElementById('speakers').style.left = "165";
document.getElementById('speakers').style.top = "161";
document.getElementById('candidates').style.visibility = "hidden";
document.getElementById('candidates').style.left = "165";
document.getElementById('candidates').style.top = "184";
document.getElementById('guests').style.visibility = "hidden";
document.getElementById('guests').style.left = "165";
document.getElementById('guests').style.top = "207";
document.getElementById('faculty').style.visibility = "hidden";
document.getElementById('faculty').style.left = "165";
document.getElementById('faculty').style.top = "230";
document.getElementById('maps').style.visibility = "hidden";
document.getElementById('maps').style.left = "220";
document.getElementById('maps').style.top = "170";
document.getElementById('instructions').style.visibility = "hidden";
document.getElementById('instructions').style.left = "379";
document.getElementById('instructions').style.top = "230";
}
}
function show_menu(item, hide1, hide2, hide3, hide4, hide5, hide6) {
if (ie4) {
document.all(item).style.visibility = "visible";
document.all(hide1).style.visibility = "hidden";
document.all(hide2).style.visibility = "hidden";
document.all(hide3).style.visibility = "hidden";
document.all(hide4).style.visibility = "hidden";
document.all(hide5).style.visibility = "hidden";
document.all(hide6).style.visibility = "hidden";
} else if (ns4) {
document.layers[item].visibility = "show";
document.layers[hide1].visibility = "hide";
document.layers[hide2].visibility = "hide";
document.layers[hide3].visibility = "hide";
document.layers[hide4].visibility = "hide";
document.layers[hide5].visibility = "hide";
document.layers[hide6].visibility = "hide";
} else {
document.getElementById(item).style.visibility = "visible";
document.getElementById(hide1).style.visibility = "hidden";
document.getElementById(hide2).style.visibility = "hidden";
document.getElementById(hide3).style.visibility = "hidden";
document.getElementById(hide4).style.visibility = "hidden";
document.getElementById(hide5).style.visibility = "hidden";
document.getElementById(hide6).style.visibility = "hidden";
}
}
function hide_all() {
if (ie4) {
document.all('schedules').style.visibility = "hidden";
document.all('speakers').style.visibility = "hidden";
document.all('candidates').style.visibility = "hidden";
document.all('guests').style.visibility = "hidden";
document.all('faculty').style.visibility = "hidden";
document.all('maps').style.visibility = "hidden";
document.all('instructions').style.visibility = "hidden";
} else if (ns4) {
document.layers['schedules'].visibility = "hide";
document.layers['speakers'].visibility = "hide";
document.layers['candidates'].visibility = "hide";
document.layers['guests'].visibility = "hide";
document.layers['faculty'].visibility = "hide";
document.layers['maps'].visibility = "hide";
document.layers['instructions'].visibility = "hide";
} else {
document.getElementById('schedules').style.visibility = "hidden";
document.getElementById('speakers').style.visibility = "hidden";
document.getElementById('candidates').style.visibility = "hidden";
document.getElementById('guests').style.visibility = "hidden";
document.getElementById('faculty').style.visibility = "hidden";
document.getElementById('maps').style.visibility = "hidden";
document.getElementById('instructions').style.visibility = "hidden";
}
}
function hide(menu) {
if (ie4) {
document.all(menu).style.visibility = "hidden";
} else if (ns4) {
document.layers[menu].visibility = "hide";
} else {
document.getElementById(menu).style.visibility = "hidden";
}
}
function delay_hide() {
if (!window.event.cancelBubble) {
setTimeout('hide_all()','1000');
}
}
//-->
</SCRIPT>
Thanks,
-Jason
<SCRIPT LANGUAGE="JavaScript">
<!--
document.onmouseover = delay_hide;
ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false
ns6 = (document.getElementById)? true:false
function init() {
if (ie4) {
document.all('schedules').style.visibility = "hidden";
document.all('schedules').style.left = "167px";
document.all('schedules').style.top = "151px";
document.all('speakers').style.visibility = "hidden";
document.all('speakers').style.left = "167px";
document.all('speakers').style.top = "174px";
document.all('candidates').style.visibility = "hidden";
document.all('candidates').style.left = "167px";
document.all('candidates').style.top = "197px";
document.all('guests').style.visibility = "hidden";
document.all('guests').style.left = "167px";
document.all('guests').style.top = "220px";
document.all('faculty').style.visibility = "hidden";
document.all('faculty').style.left = "167px";
document.all('faculty').style.top = "243px";
document.all('maps').style.visibility = "hidden";
document.all('maps').style.left = "180px";
document.all('maps').style.top = "170px";
document.all('instructions').style.visibility = "hidden";
document.all('instructions').style.left = "381px";
document.all('instructions').style.top = "243px";
} else if (ns4) {
document.layers['schedules'].visibility = "hide";
document.layers['schedules'].left = "165";
document.layers['schedules'].top = "144";
document.layers['speakers'].visibility = "hide";
document.layers['speakers'].left = "165";
document.layers['speakers'].top = "167";
document.layers['candidates'].visibility = "hide";
document.layers['candidates'].left = "165";
document.layers['candidates'].top = "190";
document.layers['guests'].visibility = "hide";
document.layers['guests'].left = "165";
document.layers['guests'].top = "213";
document.layers['faculty'].visibility = "hide";
document.layers['faculty'].left = "165";
document.layers['faculty'].top = "236";
document.layers['maps'].visibility = "hide";
document.layers['maps'].left = "160";
document.layers['maps'].top = "170";
document.layers['instructions'].visibility = "hide";
document.layers['instructions'].left = "379";
document.layers['instructions'].top = "236";
} else if (ns6) {
document.getElementById('schedules').style.visibility = "hidden";
document.getElementById('schedules').style.left = "165";
document.getElementById('schedules').style.top = "138";
document.getElementById('speakers').style.visibility = "hidden";
document.getElementById('speakers').style.left = "165";
document.getElementById('speakers').style.top = "161";
document.getElementById('candidates').style.visibility = "hidden";
document.getElementById('candidates').style.left = "165";
document.getElementById('candidates').style.top = "184";
document.getElementById('guests').style.visibility = "hidden";
document.getElementById('guests').style.left = "165";
document.getElementById('guests').style.top = "207";
document.getElementById('faculty').style.visibility = "hidden";
document.getElementById('faculty').style.left = "165";
document.getElementById('faculty').style.top = "230";
document.getElementById('maps').style.visibility = "hidden";
document.getElementById('maps').style.left = "220";
document.getElementById('maps').style.top = "170";
document.getElementById('instructions').style.visibility = "hidden";
document.getElementById('instructions').style.left = "379";
document.getElementById('instructions').style.top = "230";
}
}
function show_menu(item, hide1, hide2, hide3, hide4, hide5, hide6) {
if (ie4) {
document.all(item).style.visibility = "visible";
document.all(hide1).style.visibility = "hidden";
document.all(hide2).style.visibility = "hidden";
document.all(hide3).style.visibility = "hidden";
document.all(hide4).style.visibility = "hidden";
document.all(hide5).style.visibility = "hidden";
document.all(hide6).style.visibility = "hidden";
} else if (ns4) {
document.layers[item].visibility = "show";
document.layers[hide1].visibility = "hide";
document.layers[hide2].visibility = "hide";
document.layers[hide3].visibility = "hide";
document.layers[hide4].visibility = "hide";
document.layers[hide5].visibility = "hide";
document.layers[hide6].visibility = "hide";
} else {
document.getElementById(item).style.visibility = "visible";
document.getElementById(hide1).style.visibility = "hidden";
document.getElementById(hide2).style.visibility = "hidden";
document.getElementById(hide3).style.visibility = "hidden";
document.getElementById(hide4).style.visibility = "hidden";
document.getElementById(hide5).style.visibility = "hidden";
document.getElementById(hide6).style.visibility = "hidden";
}
}
function hide_all() {
if (ie4) {
document.all('schedules').style.visibility = "hidden";
document.all('speakers').style.visibility = "hidden";
document.all('candidates').style.visibility = "hidden";
document.all('guests').style.visibility = "hidden";
document.all('faculty').style.visibility = "hidden";
document.all('maps').style.visibility = "hidden";
document.all('instructions').style.visibility = "hidden";
} else if (ns4) {
document.layers['schedules'].visibility = "hide";
document.layers['speakers'].visibility = "hide";
document.layers['candidates'].visibility = "hide";
document.layers['guests'].visibility = "hide";
document.layers['faculty'].visibility = "hide";
document.layers['maps'].visibility = "hide";
document.layers['instructions'].visibility = "hide";
} else {
document.getElementById('schedules').style.visibility = "hidden";
document.getElementById('speakers').style.visibility = "hidden";
document.getElementById('candidates').style.visibility = "hidden";
document.getElementById('guests').style.visibility = "hidden";
document.getElementById('faculty').style.visibility = "hidden";
document.getElementById('maps').style.visibility = "hidden";
document.getElementById('instructions').style.visibility = "hidden";
}
}
function hide(menu) {
if (ie4) {
document.all(menu).style.visibility = "hidden";
} else if (ns4) {
document.layers[menu].visibility = "hide";
} else {
document.getElementById(menu).style.visibility = "hidden";
}
}
function delay_hide() {
if (!window.event.cancelBubble) {
setTimeout('hide_all()','1000');
}
}
//-->
</SCRIPT>
Thanks,
-Jason