Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:28

Can not get Milonic to go away in Licensed menu


Poster: mcooledge
Dated: Saturday October 22 2005 - 15:11:16 BST

I cannot get the Milonic to stop showing up in my menu. I have a license but it will not go away. Some times, it does not show in all menus. Some times the FAQ will show up in the side.html. I would appreciate it if some one could look at my code and see where I went wrong. I have tried using the menu_5_732 to 7.34 pre-release .js files and that did not make a difference. I am using frames and checking my code with IE and Mozilla, they both show Milonic in the menu second level. I have been looking to see if anyone else has had this problem. I did not see any, so if must be the way I modified the code.
Here is the website: http://68.156.144.67/mcooledge/meritbadge/

Here is the menu_data_side.js
Code:
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=0;           // 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";
//offbgcolor="#EDE6CD";
offcolor="#000000";
bordercolor="#330066";
borderstyle="solid";
borderwidth=2;
separatorcolor="#330066";
separatorsize=3;
padding=4;
fontsize=12;
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
subimage="images/Arrow3_black3d_10x13.gif";
onsubimage="images/Arrow3_blue3d_10x13.gif";
high3dcolor="#0099FF" //divider color
low3dcolor="#000066";
swap3d=1;
}

with(milonic=new menuname("Main Menu")){
style=mainStyleVert;
top=50;
left=0;
itemwidth=125;
alwaysvisible=1;
position="relative";

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-%20Weblist.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=Documentation;showmenu=Forms;target=body;onfunction=openSubmenu();offfunction=closeSubmenu();");
aI("text=Contact Us;url=mcooledge __at__ samgroup.com;target=body;");
}

drawMenus();



the menu_data_body.js
Code:
fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=400           // 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=0;
separatorcolor="#330066";
separatorsize=2;
padding=4;
fontsize=12;
fontweight="bold";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
subimage="images/Arrow3_black3d_10x13.gif";
onsubimage="images/Arrow3_blue3d_10x13.gif";
subimagepadding="0 0 0 10";
high3dcolor="#0099FF"; //"#edf3ee";
low3dcolor="#000066";
swap3d=1;
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("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=images/gville campus.html;");
//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("Forms")){
style=subStyle;
aI("text=Sub4.2;showmenu=sub1.2;");
aI("text=Scouts choice;url=Merit Badge - WebListforScouts.asp;");
//aI("text=Sub4.4;showmenu=sub1.4;");
}

drawMenus();


This is the index page
Code:
<html>
<head>
<title>Blue Ridge Council Metit Badge College</title>
</head>
<!-- <link rel="StyleSheet" href="frames.css">-->
<frameset  framespacing="0" border="0" frameborder="0" rows="20%,*">
  <frame name="header" scrolling="no" noresize src ="Header.html"> 
  <frameset framespacing="0" border="0" frameborder="0" cols="140,*">
    <frame  name="side" scrolling="no" noresize src="side.html">
    <frame name="body" src="Welcome.html">
  </frameset>
  <noframes>
  <link rel="stylesheet" type="text/css" href="frames.css">
      <script type="text/javascript" src="JavaScript/milonic_src.js"></script>
         <script type="text/javascript">
         if(ns4)_d.write("<scr"+"ipt type=text/javascript src=JavaScript/mmenuns4.js><\/scr"+"ipt>");
           else _d.write("<scr"+"ipt type=text/javascript src=JavaScript/mmenudom.js><\/scr"+"ipt>");
         </script>
      <script type="text/javascript" src="JavaScript/menu_data_body.js"></script>
      <script type="text/javascript" src="JavaScript/mm_navframe.js"></script>

    <body>
    <p>This page uses frames, but your stone-aged browser doesn't support them.</p>
    </body>
  </noframes>
</frameset>

</html>


Poster: mcooledge
Dated: Monday October 24 2005 - 2:04:54 BST

I found the problem. I did not reference milonic on each page.