Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:09
Help Me
Poster: jayaraj
Dated: Thursday March 30 2006 - 12:48:54 BST
I am using the following function to show and hide menu while clicking the button. Its working fine in IE. But in Netscape7.2, its not working properly.
CODE:
function showMenu()
{
if(sMenuStatus=="hide")
{
MM_showHideLayers('divezMenuLayer','','show')
sMenuStatus="show"
menuName = 'MainMenu';
menuNum = getMenuByName(menuName);
menuDisplay(menuNum,1);
myMenu = gmobj("menu"+getMenuByName("MainMenu"))
spos(myMenu, 47, null, null, null);
}
else
{
MM_showHideLayers('divezMenuLayer','','hide')
sMenuStatus="hide"
menuName = 'MainMenu';
menuNum = getMenuByName(menuName);
menuDisplay(menuNum,0);
myMenu = gmobj("menu"+getMenuByName("MainMenu"))
spos(myMenu, -100, null, null, null);
}
}