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:31
Milonic show in my frames menu
Poster: mcooledge
Dated: Monday September 26 2005 - 3:27:58 BST
Here is the problem. I have added some submenus and the milonic link shows up in the first submenu link. This does not happen all the time or on the same link. Could the problem be related to the licensing?
Here is my menu_data_body.js
Code:
_menuCloseDelay=10 // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0 // The time delay before menus open on mouse over
_subOffsetTop=0 // Sub menu top offset
_subOffsetLeft=0 // Sub menu left offset
//high3dcolor="#0099FF" //divider color
//low3dcolor="#000066";
/// Style Definitions ///
with(subStyle=new mm_style()){
bgimage="images/blue2grad3d.gif";
onbgcolor="#EDE6CD";
oncolor="#000099";
offbgcolor="#61A76D";
offcolor="#000000";
bordercolor="#330066";
borderstyle="solid";
borderwidth=2;
separatorcolor="#330066";
separatorsize=2;
padding=4;
fontsize=12;
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
subimage="submenu_arrow_right-off.gif";
onsubimage="submenu_arrow_right-on.gif";
subimagepadding="0 0 0 10";
high3dcolor="#0099FF"; //"#edf3ee";
low3dcolor="#000066";
swap3d=0;
headerbgcolor="#0099FF";
headercolor="#f2f2ff";
//overfilter="Pixelate(squares=20, duration=0.3)";
//outfilter="Pixelate(squares=20, duration=0.3)";
}
/// Submenu Definitions ///
with(milonic=new menuname("Registration")){
style=subStyle;
aI("text=Scout Master;url=Scout Master - Register.asp;");
aI("text=Volunteer;url=Volunteer - Register.asp;");
aI("text=Instructor;url=Instructor - Register.asp;");
aI("text=Contact;url=Contact - Register.asp;");
//aI("text=Sub1.1;showmenu=sub1.1;");
//aI("text=Sub1.2;showmenu=sub1.2;");
//aI("text=Sub1.3;showmenu=sub1.3;");
//aI("text=Sub1.4;showmenu=sub1.4;");
}
with(milonic=new menuname("Locations")){
style=subStyle;
aI("text=BUMC;url=http://www.mapquest.com/maps/map.adp?latlongtype=internal&addtohistory=&latitude=RKgLmN8j3GE%3d&longitude=9uQTBsH15fA%3d&name=BUNCOMBE%20STREET%20UNITED%20METHODIST%20CHURCH&country=US&address=213%20COLLEGE%20ST&city=GREENVILLE&state=SC&zipcode=29601&phone=864%2d232%2d7341&spurl=0&searchtype=search&q=church&cat=Methodist&qc=Methodist;");
aI("text=Messiah Lutheran Church;url=http://www.mapquest.com/maps/map.adp?latlongtype=internal&addtohistory=&latitude=CgYAIZK6uRQ%3d&longitude=SgZrVk%2f0QNc%3d&name=Messiah%20Lutheran%20Church&country=US&address=1100%20Log%20Shoals%20Rd&city=Mauldin&state=SC&zipcode=29662&phone=864%2d963%2d4549&spurl=0&searchtype=search&q=Church&cat=Lutheran&qc=Lutheran;");
aI("text=Greenville Technical College;url=http://www.mapquest.com/maps/map.adp?latlongtype=internal&addtohistory=&latitude=xWlTqhXPmVU%3d&longitude=IANCSkuK7Yo%3d&name=Greenville%20Technical%20College&country=US&address=506%20S%20Pleasantburg%20Dr&city=Greenville&state=SC&zipcode=29607&phone=864%2d250%2d8111&spurl=0&searchtype=search&q=Colleges%20and%20Universities&cat=Colleges%20%26%20Universities&qc=Colleges%20%26%20Universities;showmenu=Campus Map;");
//aI("text=Sub2.1;showmenu=Capus Map;");
//aI("Messiah Lutheran Church;");
//aI("text=Sub2.1;showmenu=sub1.1;");
//aI("text=Sub2.2;showmenu=sub1.2;");
//aI("text=Sub2.3;showmenu=sub1.3;");
//aI("text=Sub2.4;showmenu=sub1.4;");
}
with(milonic=new menuname("Campus Map")){
style=subStyle;
aI("text=Campus Map;url=file//mcooledge/mm_Frame/barton_campus.gif;");
//aI("text=Sub3.2;showmenu=sub1.2;");
//aI("text=Sub3.3;showmenu=sub1.3;");
//aI("text=Sub3.4;showmenu=sub1.4;");
}
//with(MBC=new menuname("sub4")){
//style=subStyle;
//aI("text=Sub4.1;showmenu=sub1.1;");
//aI("text=Sub4.2;showmenu=sub1.2;");
//aI("text=Sub4.3;showmenu=sub1.3;");
//aI("text=Sub4.4;showmenu=sub1.4;");
//}
//with(MBC=new menuname("sub1.1")){
//style=subStyle;
//aI("text=Scout Master;url=Scout Master - Register.asp;");
//aI("text=Open Page;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//}
//with(MBC=new menuname("sub1.2")){
//style=subStyle;
//aI("text=Open page1;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//aI("text=Open page3;url=page3.htm;");
//}
//with(milonic=new menuname("sub1.3")){
//style=subStyle;
//aI("text=Open page1;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//aI("text=Open page3;url=page3.htm;");
//aI("text=Open page4;url=page4.htm;");
//}
//with(MBC=new menuname("sub1.4")){
//style=subStyle;
//aI("text=Open page1;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//aI("text=Open page3;url=page3.htm;");
//aI("text=Open page4;url=page4.htm;");
//aI("text=Open page5;url=page5.htm;target=_new;");
//}
drawMenus();
_menuOpenDelay=0 // The time delay before menus open on mouse over
_subOffsetTop=0 // Sub menu top offset
_subOffsetLeft=0 // Sub menu left offset
//high3dcolor="#0099FF" //divider color
//low3dcolor="#000066";
/// Style Definitions ///
with(subStyle=new mm_style()){
bgimage="images/blue2grad3d.gif";
onbgcolor="#EDE6CD";
oncolor="#000099";
offbgcolor="#61A76D";
offcolor="#000000";
bordercolor="#330066";
borderstyle="solid";
borderwidth=2;
separatorcolor="#330066";
separatorsize=2;
padding=4;
fontsize=12;
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
subimage="submenu_arrow_right-off.gif";
onsubimage="submenu_arrow_right-on.gif";
subimagepadding="0 0 0 10";
high3dcolor="#0099FF"; //"#edf3ee";
low3dcolor="#000066";
swap3d=0;
headerbgcolor="#0099FF";
headercolor="#f2f2ff";
//overfilter="Pixelate(squares=20, duration=0.3)";
//outfilter="Pixelate(squares=20, duration=0.3)";
}
/// Submenu Definitions ///
with(milonic=new menuname("Registration")){
style=subStyle;
aI("text=Scout Master;url=Scout Master - Register.asp;");
aI("text=Volunteer;url=Volunteer - Register.asp;");
aI("text=Instructor;url=Instructor - Register.asp;");
aI("text=Contact;url=Contact - Register.asp;");
//aI("text=Sub1.1;showmenu=sub1.1;");
//aI("text=Sub1.2;showmenu=sub1.2;");
//aI("text=Sub1.3;showmenu=sub1.3;");
//aI("text=Sub1.4;showmenu=sub1.4;");
}
with(milonic=new menuname("Locations")){
style=subStyle;
aI("text=BUMC;url=http://www.mapquest.com/maps/map.adp?latlongtype=internal&addtohistory=&latitude=RKgLmN8j3GE%3d&longitude=9uQTBsH15fA%3d&name=BUNCOMBE%20STREET%20UNITED%20METHODIST%20CHURCH&country=US&address=213%20COLLEGE%20ST&city=GREENVILLE&state=SC&zipcode=29601&phone=864%2d232%2d7341&spurl=0&searchtype=search&q=church&cat=Methodist&qc=Methodist;");
aI("text=Messiah Lutheran Church;url=http://www.mapquest.com/maps/map.adp?latlongtype=internal&addtohistory=&latitude=CgYAIZK6uRQ%3d&longitude=SgZrVk%2f0QNc%3d&name=Messiah%20Lutheran%20Church&country=US&address=1100%20Log%20Shoals%20Rd&city=Mauldin&state=SC&zipcode=29662&phone=864%2d963%2d4549&spurl=0&searchtype=search&q=Church&cat=Lutheran&qc=Lutheran;");
aI("text=Greenville Technical College;url=http://www.mapquest.com/maps/map.adp?latlongtype=internal&addtohistory=&latitude=xWlTqhXPmVU%3d&longitude=IANCSkuK7Yo%3d&name=Greenville%20Technical%20College&country=US&address=506%20S%20Pleasantburg%20Dr&city=Greenville&state=SC&zipcode=29607&phone=864%2d250%2d8111&spurl=0&searchtype=search&q=Colleges%20and%20Universities&cat=Colleges%20%26%20Universities&qc=Colleges%20%26%20Universities;showmenu=Campus Map;");
//aI("text=Sub2.1;showmenu=Capus Map;");
//aI("Messiah Lutheran Church;");
//aI("text=Sub2.1;showmenu=sub1.1;");
//aI("text=Sub2.2;showmenu=sub1.2;");
//aI("text=Sub2.3;showmenu=sub1.3;");
//aI("text=Sub2.4;showmenu=sub1.4;");
}
with(milonic=new menuname("Campus Map")){
style=subStyle;
aI("text=Campus Map;url=file//mcooledge/mm_Frame/barton_campus.gif;");
//aI("text=Sub3.2;showmenu=sub1.2;");
//aI("text=Sub3.3;showmenu=sub1.3;");
//aI("text=Sub3.4;showmenu=sub1.4;");
}
//with(MBC=new menuname("sub4")){
//style=subStyle;
//aI("text=Sub4.1;showmenu=sub1.1;");
//aI("text=Sub4.2;showmenu=sub1.2;");
//aI("text=Sub4.3;showmenu=sub1.3;");
//aI("text=Sub4.4;showmenu=sub1.4;");
//}
//with(MBC=new menuname("sub1.1")){
//style=subStyle;
//aI("text=Scout Master;url=Scout Master - Register.asp;");
//aI("text=Open Page;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//}
//with(MBC=new menuname("sub1.2")){
//style=subStyle;
//aI("text=Open page1;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//aI("text=Open page3;url=page3.htm;");
//}
//with(milonic=new menuname("sub1.3")){
//style=subStyle;
//aI("text=Open page1;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//aI("text=Open page3;url=page3.htm;");
//aI("text=Open page4;url=page4.htm;");
//}
//with(MBC=new menuname("sub1.4")){
//style=subStyle;
//aI("text=Open page1;url=page1.htm;");
//aI("text=Open page2;url=page2.htm;");
//aI("text=Open page3;url=page3.htm;");
//aI("text=Open page4;url=page4.htm;");
//aI("text=Open page5;url=page5.htm;target=_new;");
//}
drawMenus();
Here is the menu_data_side.js
Code:
_menuCloseDelay=10; // The time delay for menus to remain visible on mouse out
_menuOpenDelay=0; // The time delay before menus open on mouse over
_subOffsetTop=0; // Sub menu top offset
_subOffsetLeft=0; // Sub menu left offset
/// Style Definitions ///
with(mainStyleVert=new mm_style()){
body="";
bgimage="images/blue2grad3d.gif";
onbgcolor="#EDE6CD";
oncolor="#000099";
offbgcolor="#61A76D";
offcolor="#000000";
bordercolor="#330066";
borderstyle="solid";
borderwidth=2;
separatorcolor="#330066";
separatorsize=2;
padding=4;
fontsize=12;
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
high3dcolor="#0099FF" //divider color
low3dcolor="#000066";
swap3d=0;
}
with(milonic=new menuname("Main Menu")){
style=mainStyleVert;
top=10;
left=2;
itemwidth=132;
alwaysvisible=1;
aI("text=MBC Home Page;url=Welcome.html;target=body;");
aI("text=Login;url=Security%20-%20Login.asp;target=body;");
aI("text=Registration;showmenu=Registration;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Merit Badges;url=Merit Badge%20-%20list.asp;target=body;");
aI("text=FAQ's;url=FAQ.html;target=body;");
aI("text=Locations;showmenu=Locations;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Contact Us;url=mcooledge __at__ samgroup.com;target=_new;");
}
drawMenus();
_menuOpenDelay=0; // The time delay before menus open on mouse over
_subOffsetTop=0; // Sub menu top offset
_subOffsetLeft=0; // Sub menu left offset
/// Style Definitions ///
with(mainStyleVert=new mm_style()){
body="";
bgimage="images/blue2grad3d.gif";
onbgcolor="#EDE6CD";
oncolor="#000099";
offbgcolor="#61A76D";
offcolor="#000000";
bordercolor="#330066";
borderstyle="solid";
borderwidth=2;
separatorcolor="#330066";
separatorsize=2;
padding=4;
fontsize=12;
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
high3dcolor="#0099FF" //divider color
low3dcolor="#000066";
swap3d=0;
}
with(milonic=new menuname("Main Menu")){
style=mainStyleVert;
top=10;
left=2;
itemwidth=132;
alwaysvisible=1;
aI("text=MBC Home Page;url=Welcome.html;target=body;");
aI("text=Login;url=Security%20-%20Login.asp;target=body;");
aI("text=Registration;showmenu=Registration;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Merit Badges;url=Merit Badge%20-%20list.asp;target=body;");
aI("text=FAQ's;url=FAQ.html;target=body;");
aI("text=Locations;showmenu=Locations;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Contact Us;url=mcooledge __at__ samgroup.com;target=_new;");
}
drawMenus();
Here is my site to look and see what it is doing.
[url]
http://68.156.144.67/mcooledge/mm_Frame/
[/url]