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:21
Sub Menus Not Closing
Poster: bmarlin
Dated: Wednesday March 26 2008 - 23:53:02 GMT
Hello,
I just purchased the most current version 5.791. When I roll over the sub menu open but neither of them will close unless I reload the page. I have the menu is a table. Here is the code from the manu_data.js file.
fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=1;
itemwidth="100%";
fontfamily="Verdana, Tahoma, Arial";
fontsize="95%";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#f8971d";
offcolor="#ffffff";
onbgcolor="#000000";
oncolor="#ffffff";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.2);Alpha(opacity=97);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#999999";
separatorsize=1;
subimage="/menu/arrow.gif";
subimagepadding=2;
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
style=menuStyle;
aI("text=Home;url=http://www.milonic.com/;");
aI("showmenu=Services;text=Services;");
aI("showmenu=Gallery;text=Gallery;");
aI("text=Franchise;url=http://www.milonic.com/;");
aI("text=Training;url=http://www.milonic.com/;");
aI("text=About Us;url=http://www.milonic.com/;");
aI("text=Careers;url=http://www.milonic.com/;");
}
with(milonic=new menuname("Services")){
overflow="scroll";
style=menuStyle;
aI("text=Paint Repair;url=http://www.milonic.com/menusample1.php;")
aI("text=Interior Repair;url=http://www.milonic.com/menusample2.php;")
aI("text=Windshield Repair;url=http://www.milonic.com/menusample24.php;")
aI("text=Glash Scratch Repair;url=http://www.milonic.com/menusample82.php;")
}
with(milonic=new menuname("Gallery")){
style=menuStyle;
aI("text=Paint Repair;url=http://www.milonic.com/cbuy.php;");
aI("text=Interior Repair;url=http://www.milonic.com/contactus.php;");
aI("text=Glass Scratch;url=http://www.milonic.com/newsletter.php;");
aI("text=Spot Repair Process;url=http://www.milonic.com/menufaq.php;");
}
drawMenus();
Re: Sub Menus Not Closing
Poster: Ruth
Dated: Thursday March 27 2008 - 1:57:02 GMT
Hi,
Based on the data file you posted, you do not have the menu put in the table correctly. I do not know if that is causing that problem, but it would need to be fixed. If putting it in the table correctly doesn't fix the issue I would need to see your page since it would have to be something else causing the problem.
http://support.milonic.com/beginners/ta ... /index.htm
Ruth