wdale2000
06-26-2003, 10:06 PM
I have whipped this cascading menu into what I need it to do on my site. When I was editing it on a blank HTML Document(w/html, head, and body tags), it worked like a charm in IE, but, when I transfer the script to my (offline) page, the table, where the script displays, shows but the title sections of the menu do not. It is a mouseover menu, but nothing happens there, and, when you click on the table area, it continues to get an error;
'menu[...].0.ref' is null or not an object...
This is the section of code that errors, menu[count][0]..
}
function hideAllBut(menuNum) {
var keepMenus = getTree(menuNum, 1);
for (count = 0; count < menu.length; count++)
if (!keepMenus[count])
menu[count][0].ref.visibility = 'hidden';
changeCol(litNow, false);
}
Please advise, I'd really appreciate the input.
Thank you.
Dale.
'menu[...].0.ref' is null or not an object...
This is the section of code that errors, menu[count][0]..
}
function hideAllBut(menuNum) {
var keepMenus = getTree(menuNum, 1);
for (count = 0; count < menu.length; count++)
if (!keepMenus[count])
menu[count][0].ref.visibility = 'hidden';
changeCol(litNow, false);
}
Please advise, I'd really appreciate the input.
Thank you.
Dale.