menu[count][0].ref has no properties.

admin

Administrator
Staff member
I am trying to use a pop out bar for my site as my banner. The page functions correctly when I view the pageheader.htm but when I use the page include function I get the menu[count][0].ref has no properties.

I don't understand why it won't work in the page include funtion. It doesn't like this : visibility = 'visible';

here is the block of code where it fails

function hideAllBut(menuNum) {
var keepMenus = getTree(menuNum, 1);
for (count = 0; count < menu.length; count++)
if (!keepMenus[count])
menu[count][0].ref.visibility = 'visible';

any ideas?

thanks
 
Back
Top