My knowledge of java is limited but I have managed to get the solution partly working
I am using a frames set-up with three frames.
The top frame has the main navigation menu and the main frame has the submenus. I am trying to get the submenu to open a full contents menu in the left frame.
I have got the basic frames functionality working it's just getting the contents frame to display a menu that I'm having problems with.
I am using some code from Kevin from another posting on this forum
Code: Select all
function mm_showMenu(menuName) // , alwaysVisState = optional. 1=on, 0=off
{
var menuNum = getMenuByName(menuName);
if (arguments.length > 1)_m[menuNum][7] = arguments[1];
menuDisplay(menuNum, 1);
}
function mm_hideMenu(menuName) // , alwaysVisState = optional. 1=on, 0=off
{
var menuNum = getMenuByName(menuName);
if (arguments.length > 1)_m[menuNum][7] = arguments[1];
menuDisplay(menuNum, 0);
}
For my testing purposes I'm simply calling these functions from a check box in the contents frame.
I have tried using the closeAllMenus() function but without success. I either get an error on the page or the function does nothing.
Help please
