I am trying to show and hide navigation bars depending on which button the user mouses over. So on mouseover of a button a function like this is called:
function toggle_6(){
if (document.Foo6.visibility=="hide"
{
clear_all_tabs(6);
document.Foo6.visibility="show";
}
}
I create and name all the navigation bars with <Div> like this: <DIV ID="Foo6"> ---code goes here--- </Div>
However on mouseover the line document.Foo6.visibility=="hide"
throws an error saying:
document.Foo6.visibility is null or not an object
Code:0
This only happens in the latest browsers of Netscape (6.2) and IE. It does not occur in eailer versions of Netscape. The O/S that I am testing on is WinXP and Linux (Red Hat).
Does anybody know if there is another way of naming the navigation bars? What am I doing wrong?
Thanks
function toggle_6(){
if (document.Foo6.visibility=="hide"
clear_all_tabs(6);
document.Foo6.visibility="show";
}
}
I create and name all the navigation bars with <Div> like this: <DIV ID="Foo6"> ---code goes here--- </Div>
However on mouseover the line document.Foo6.visibility=="hide"
document.Foo6.visibility is null or not an object
Code:0
This only happens in the latest browsers of Netscape (6.2) and IE. It does not occur in eailer versions of Netscape. The O/S that I am testing on is WinXP and Linux (Red Hat).
Does anybody know if there is another way of naming the navigation bars? What am I doing wrong?
Thanks