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:55
Strange Embedded in table behavior in all browsers
Poster: redbeard
Dated: Wednesday September 13 2006 - 21:18:03 BST
I am using a horizontal main and submenu setup and have embedded the DHTML menu in the table as discribed. When you roll over a main menu item the submenu appears but when you rollover the next menu item that menu appears below the other submenu making the table larger.
You can view this at:
http://64.23.96.234/new-design/
Here is the table code:
Code:
<script type="text/javascript" src="http://64.23.96.234/new-design/code/milonic_src.js"></script>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=http://64.23.96.234/new-design/code/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=http://64.23.96.234/new-design/code/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="http://64.23.96.234/new-design/code/menu_data.js"></script>
<script type="text/javascript" src="http://64.23.96.234/new-design/code/openmenusbyurl.js"></script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><a href="http://www.stratexnet.com"><img src="http://64.23.96.234/new-design/images/logo.gif" alt="Stratex Wireless Networks Logo" name="logo" width="390" height="56" border="0" id="logo"></a></td>
</tr>
<tr>
<td height="26" background="http://64.23.96.234/new-design/images/nav-main-bkgd.gif">
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td>
<script>
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
position="relative";
style=menuStyle;
top=0;
menuDisplay(gmobj("Products"),1)
aI("showmenu=Products;text=PRODUCTS;url=http://64.23.96.234/new-design/Products/index.shtml;");
aI("showmenu=Solutions;text=SOLUTIONS;url=http://64.23.96.234/new-design/Solutions/index.shtml;");
aI("showmenu=Support;text=SUPPORT;url=http://64.23.96.234/new-design/Support/index.shtml;");
aI("showmenu=Company;text=COMPANY;url=http://64.23.96.234/new-design/Company/index.shtml");
aI("showmenu=Contact Us;text=CONTACT US;url=http://64.23.96.234/new-design/ContactUs/index.shtml");
}
drawMenus();
</script> </td>
<td width="11"><img src="../images/clear.gif" width="11" height="1"></td>
</tr>
</table> </td>
</tr>
<tr>
<td height="26" background="http://64.23.96.234/new-design/images/nav-sub-bkgd.gif">
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td> <script>
with(milonic=new menuname("Products")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=PRODUCTS HOME;url=http://64.23.96.234/new-design/Products/index.shtml;")
aI("showmenu=Eclipse;text=ECLIPSE;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=VELOX LE;url=http://64.23.96.234/new-design/Products/productsVelox-LE.shtml;")
aI("showmenu=Software;text=SOFTWARE SOLUTIONS;url=http://64.23.96.234/new-design/Products/productsSoftware.shtml;")
aI("text=PRODUCT HISTORY;url=http://64.23.96.234/new-design/Products/productsHistory.shtml;")
}
with(milonic=new menuname("Eclipse")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseNodal.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseLink.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseOutdoor.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseData.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipsePDHTM.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseQuattro.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseSoftware.shtml;")
}
with(milonic=new menuname("Software")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwareProVision.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwarePortal.shtml;")
}
with(milonic=new menuname("Solutions")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Solutions/index.shtml;")
aI("text=MOBILE;url=http://64.23.96.234/new-design/Solutions/solutionsMobile.shtml;")
aI("text=WIRELESS BROADBAND;url=http://64.23.96.234/new-design/Solutions/solutionsWireless.shtml;")
aI("text=UTILITIES;url=http://64.23.96.234/new-design/Solutions/solutionsUtilities.shtml;")
aI("text=EDUCATION;url=http://64.23.96.234/new-design/Solutions/solutionsEducation.shtml;")
aI("text=OIL & GAS;url=http://64.23.96.234/new-design/Solutions/solutionsOilGas.shtml;")
aI("text=DEFENSE;url=http://64.23.96.234/new-design/Solutions/solutionsDefense.shtml;")
aI("text=GOVERNMENT;url=http://64.23.96.234/new-design/Solutions/solutionsGovernment.shtml;")
aI("text=ENTERPRISE;url=http://64.23.96.234/new-design/Solutions/solutionsEnterprise.shtml;")
aI("text=HEALTHCARE;url=http://64.23.96.234/new-design/Solutions/solutionsHealthcare.shtml;")
aI("text=PUBLIC SAFETY;url=http://64.23.96.234/new-design/Solutions/solutionsPublicSafety.shtml;")
}
with(milonic=new menuname("Support")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=SUPPORT HOME;url=http://64.23.96.234/new-design/Support/index.shtml;");
aI("showmenu=Field;text=FIELD SERVICES;url=http://64.23.96.234/new-design/Support/supportFieldService.shtml;");
aI("showmenu=Technical;text=TECHNICAL SUPPORT;url=http://64.23.96.234/new-design/Support/supportTechnicalOverview.shtml;");
aI("showmenu=Repair;text=REPAIR / RETURN;url=http://64.23.96.234/new-design/Support/supportRepairReturn.shtml;");
aI("text=WARRANTY INFO;url=http://64.23.96.234/new-design/Support/supportWarrantyPolicy.shtml;");
aI("text=PRODUCT SOFTWARE UPGRADE;url=http://64.23.96.234/new-design/Support/supportUpgrades.shtml;");
}
with(milonic=new menuname("Repair")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnPolicy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnHowDoI.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportRepairPrograms.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
}
with(milonic=new menuname("Field")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportTraining.shtml;")
}
with(milonic=new menuname("Technical")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportServiceCenters.shtml;")
}
with(milonic=new menuname("Company")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=CompanyHomeSub;text=COMPANY HOME;url=http://64.23.96.234/new-design/Company/;");
aI("text=NEWS and PRESS;url=http://64.23.96.234/new-design/Company/companyNewsPress.shtml;");
aI("text=INVESTOR;url=http://64.23.96.234/new-design/Company/companyInvestor.shtml;");
aI("text=CAREERS;url=http://64.23.96.234/new-design/Company/companyCareers.shtml;");
}
with(milonic=new menuname("CompanyHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
with(milonic=new menuname("Contact Us")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=ContactHomeSubtext=CONTACTS HOME;url=http://64.23.96.234/new-design/ContactUs/index.shtml;");
aI("text=OFFICE LOCATIONS;url=http://64.23.96.234/new-design/ContactUs/contactLocations.shtml;");
aI("text=PARTNERS;url=http://64.23.96.234/new-design/ContactUs/contactPartner.shtml;");
aI("text=REQUEST INFO;url=http://64.23.96.234/new-design/ContactUs/contactInfo-form.shtml;");
aI("text=FEEDBACK FORM;url=http://64.23.96.234/new-design/ContactUs/contactFeedback-form.shtml;");
}
with(milonic=new menuname("ContactHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
drawMenus();
</script>
</td>
<td width="11"><img src="../images/clear.gif" width="11" height="1" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="26" valign="bottom" class="breadcrumbes">
<script language="JavaScript">
<!--
breadcrumbs();
-->
</script> </td>
</tr>
</table>
<script type="text/javascript">
if(ns4)_d.write("<scr"+"ipt type=text/javascript src=http://64.23.96.234/new-design/code/mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt type=text/javascript src=http://64.23.96.234/new-design/code/mmenudom.js><\/scr"+"ipt>");
</script>
<script type="text/javascript" src="http://64.23.96.234/new-design/code/menu_data.js"></script>
<script type="text/javascript" src="http://64.23.96.234/new-design/code/openmenusbyurl.js"></script>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><a href="http://www.stratexnet.com"><img src="http://64.23.96.234/new-design/images/logo.gif" alt="Stratex Wireless Networks Logo" name="logo" width="390" height="56" border="0" id="logo"></a></td>
</tr>
<tr>
<td height="26" background="http://64.23.96.234/new-design/images/nav-main-bkgd.gif">
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td>
<script>
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
orientation="horizontal";
position="relative";
style=menuStyle;
top=0;
menuDisplay(gmobj("Products"),1)
aI("showmenu=Products;text=PRODUCTS;url=http://64.23.96.234/new-design/Products/index.shtml;");
aI("showmenu=Solutions;text=SOLUTIONS;url=http://64.23.96.234/new-design/Solutions/index.shtml;");
aI("showmenu=Support;text=SUPPORT;url=http://64.23.96.234/new-design/Support/index.shtml;");
aI("showmenu=Company;text=COMPANY;url=http://64.23.96.234/new-design/Company/index.shtml");
aI("showmenu=Contact Us;text=CONTACT US;url=http://64.23.96.234/new-design/ContactUs/index.shtml");
}
drawMenus();
</script> </td>
<td width="11"><img src="../images/clear.gif" width="11" height="1"></td>
</tr>
</table> </td>
</tr>
<tr>
<td height="26" background="http://64.23.96.234/new-design/images/nav-sub-bkgd.gif">
<table width="100%" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td> <script>
with(milonic=new menuname("Products")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=PRODUCTS HOME;url=http://64.23.96.234/new-design/Products/index.shtml;")
aI("showmenu=Eclipse;text=ECLIPSE;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=VELOX LE;url=http://64.23.96.234/new-design/Products/productsVelox-LE.shtml;")
aI("showmenu=Software;text=SOFTWARE SOLUTIONS;url=http://64.23.96.234/new-design/Products/productsSoftware.shtml;")
aI("text=PRODUCT HISTORY;url=http://64.23.96.234/new-design/Products/productsHistory.shtml;")
}
with(milonic=new menuname("Eclipse")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseNodal.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseLink.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseOutdoor.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseData.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipsePDHTM.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseQuattro.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseSoftware.shtml;")
}
with(milonic=new menuname("Software")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwareProVision.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwarePortal.shtml;")
}
with(milonic=new menuname("Solutions")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Solutions/index.shtml;")
aI("text=MOBILE;url=http://64.23.96.234/new-design/Solutions/solutionsMobile.shtml;")
aI("text=WIRELESS BROADBAND;url=http://64.23.96.234/new-design/Solutions/solutionsWireless.shtml;")
aI("text=UTILITIES;url=http://64.23.96.234/new-design/Solutions/solutionsUtilities.shtml;")
aI("text=EDUCATION;url=http://64.23.96.234/new-design/Solutions/solutionsEducation.shtml;")
aI("text=OIL & GAS;url=http://64.23.96.234/new-design/Solutions/solutionsOilGas.shtml;")
aI("text=DEFENSE;url=http://64.23.96.234/new-design/Solutions/solutionsDefense.shtml;")
aI("text=GOVERNMENT;url=http://64.23.96.234/new-design/Solutions/solutionsGovernment.shtml;")
aI("text=ENTERPRISE;url=http://64.23.96.234/new-design/Solutions/solutionsEnterprise.shtml;")
aI("text=HEALTHCARE;url=http://64.23.96.234/new-design/Solutions/solutionsHealthcare.shtml;")
aI("text=PUBLIC SAFETY;url=http://64.23.96.234/new-design/Solutions/solutionsPublicSafety.shtml;")
}
with(milonic=new menuname("Support")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=SUPPORT HOME;url=http://64.23.96.234/new-design/Support/index.shtml;");
aI("showmenu=Field;text=FIELD SERVICES;url=http://64.23.96.234/new-design/Support/supportFieldService.shtml;");
aI("showmenu=Technical;text=TECHNICAL SUPPORT;url=http://64.23.96.234/new-design/Support/supportTechnicalOverview.shtml;");
aI("showmenu=Repair;text=REPAIR / RETURN;url=http://64.23.96.234/new-design/Support/supportRepairReturn.shtml;");
aI("text=WARRANTY INFO;url=http://64.23.96.234/new-design/Support/supportWarrantyPolicy.shtml;");
aI("text=PRODUCT SOFTWARE UPGRADE;url=http://64.23.96.234/new-design/Support/supportUpgrades.shtml;");
}
with(milonic=new menuname("Repair")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnPolicy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnHowDoI.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportRepairPrograms.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
}
with(milonic=new menuname("Field")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportTraining.shtml;")
}
with(milonic=new menuname("Technical")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportServiceCenters.shtml;")
}
with(milonic=new menuname("Company")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=CompanyHomeSub;text=COMPANY HOME;url=http://64.23.96.234/new-design/Company/;");
aI("text=NEWS and PRESS;url=http://64.23.96.234/new-design/Company/companyNewsPress.shtml;");
aI("text=INVESTOR;url=http://64.23.96.234/new-design/Company/companyInvestor.shtml;");
aI("text=CAREERS;url=http://64.23.96.234/new-design/Company/companyCareers.shtml;");
}
with(milonic=new menuname("CompanyHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
with(milonic=new menuname("Contact Us")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=ContactHomeSubtext=CONTACTS HOME;url=http://64.23.96.234/new-design/ContactUs/index.shtml;");
aI("text=OFFICE LOCATIONS;url=http://64.23.96.234/new-design/ContactUs/contactLocations.shtml;");
aI("text=PARTNERS;url=http://64.23.96.234/new-design/ContactUs/contactPartner.shtml;");
aI("text=REQUEST INFO;url=http://64.23.96.234/new-design/ContactUs/contactInfo-form.shtml;");
aI("text=FEEDBACK FORM;url=http://64.23.96.234/new-design/ContactUs/contactFeedback-form.shtml;");
}
with(milonic=new menuname("ContactHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
drawMenus();
</script>
</td>
<td width="11"><img src="../images/clear.gif" width="11" height="1" /></td>
</tr>
</table></td>
</tr>
<tr>
<td height="26" valign="bottom" class="breadcrumbes">
<script language="JavaScript">
<!--
breadcrumbs();
-->
</script> </td>
</tr>
</table>
and here is "menu_data.js
Code:
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=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#FFFFFF";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#FFFFFF";
separatorsize=1;
subimage="";
subimagepadding=2;
}
with(menuStyleSub=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle ='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#92571E";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#92571E";
separatorsize=1;
subimage="";
subimagepadding=2;
}
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#FFFFFF";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#FFFFFF";
separatorsize=1;
subimage="";
subimagepadding=2;
}
with(menuStyleSub=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle ='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#92571E";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#92571E";
separatorsize=1;
subimage="";
subimagepadding=2;
}
Any help will be greatly appreciated. I was having too many alignment and dissaperance issues by not using "relative" positioning so this is why I have embedded the menu.
BTW - this is happening in all browsers and Operating systems. And I am using version ver5_756
Poster: Ruth
Dated: Wednesday September 13 2006 - 22:37:21 BST
Hello,
The only menu that goes into the table is the main menu. The rest go into a file. Remove the submenus from the table and put them in the menu data file.
menu_data.js file should be
Code:
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=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#FFFFFF";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#FFFFFF";
separatorsize=1;
subimage="";
subimagepadding=2;
}
with(menuStyleSub=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle ='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#92571E";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#92571E";
separatorsize=1;
subimage="";
subimagepadding=2;
}
with(milonic=new menuname("Products")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=PRODUCTS HOME;url=http://64.23.96.234/new-design/Products/index.shtml;")
aI("showmenu=Eclipse;text=ECLIPSE;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=VELOX LE;url=http://64.23.96.234/new-design/Products/productsVelox-LE.shtml;")
aI("showmenu=Software;text=SOFTWARE SOLUTIONS;url=http://64.23.96.234/new-design/Products/productsSoftware.shtml;")
aI("text=PRODUCT HISTORY;url=http://64.23.96.234/new-design/Products/productsHistory.shtml;")
}
with(milonic=new menuname("Eclipse")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseNodal.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseLink.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseOutdoor.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseData.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipsePDHTM.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseQuattro.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseSoftware.shtml;")
}
with(milonic=new menuname("Software")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwareProVision.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwarePortal.shtml;")
}
with(milonic=new menuname("Solutions")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Solutions/index.shtml;")
aI("text=MOBILE;url=http://64.23.96.234/new-design/Solutions/solutionsMobile.shtml;")
aI("text=WIRELESS BROADBAND;url=http://64.23.96.234/new-design/Solutions/solutionsWireless.shtml;")
aI("text=UTILITIES;url=http://64.23.96.234/new-design/Solutions/solutionsUtilities.shtml;")
aI("text=EDUCATION;url=http://64.23.96.234/new-design/Solutions/solutionsEducation.shtml;")
aI("text=OIL & GAS;url=http://64.23.96.234/new-design/Solutions/solutionsOilGas.shtml;")
aI("text=DEFENSE;url=http://64.23.96.234/new-design/Solutions/solutionsDefense.shtml;")
aI("text=GOVERNMENT;url=http://64.23.96.234/new-design/Solutions/solutionsGovernment.shtml;")
aI("text=ENTERPRISE;url=http://64.23.96.234/new-design/Solutions/solutionsEnterprise.shtml;")
aI("text=HEALTHCARE;url=http://64.23.96.234/new-design/Solutions/solutionsHealthcare.shtml;")
aI("text=PUBLIC SAFETY;url=http://64.23.96.234/new-design/Solutions/solutionsPublicSafety.shtml;")
}
with(milonic=new menuname("Support")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=SUPPORT HOME;url=http://64.23.96.234/new-design/Support/index.shtml;");
aI("showmenu=Field;text=FIELD SERVICES;url=http://64.23.96.234/new-design/Support/supportFieldService.shtml;");
aI("showmenu=Technical;text=TECHNICAL SUPPORT;url=http://64.23.96.234/new-design/Support/supportTechnicalOverview.shtml;");
aI("showmenu=Repair;text=REPAIR / RETURN;url=http://64.23.96.234/new-design/Support/supportRepairReturn.shtml;");
aI("text=WARRANTY INFO;url=http://64.23.96.234/new-design/Support/supportWarrantyPolicy.shtml;");
aI("text=PRODUCT SOFTWARE UPGRADE;url=http://64.23.96.234/new-design/Support/supportUpgrades.shtml;");
}
with(milonic=new menuname("Repair")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnPolicy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnHowDoI.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportRepairPrograms.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
}
with(milonic=new menuname("Field")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportTraining.shtml;")
}
with(milonic=new menuname("Technical")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportServiceCenters.shtml;")
}
with(milonic=new menuname("Company")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=CompanyHomeSub;text=COMPANY HOME;url=http://64.23.96.234/new-design/Company/;");
aI("text=NEWS and PRESS;url=http://64.23.96.234/new-design/Company/companyNewsPress.shtml;");
aI("text=INVESTOR;url=http://64.23.96.234/new-design/Company/companyInvestor.shtml;");
aI("text=CAREERS;url=http://64.23.96.234/new-design/Company/companyCareers.shtml;");
}
with(milonic=new menuname("CompanyHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
with(milonic=new menuname("Contact Us")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=ContactHomeSubtext=CONTACTS HOME;url=http://64.23.96.234/new-design/ContactUs/index.shtml;");
aI("text=OFFICE LOCATIONS;url=http://64.23.96.234/new-design/ContactUs/contactLocations.shtml;");
aI("text=PARTNERS;url=http://64.23.96.234/new-design/ContactUs/contactPartner.shtml;");
aI("text=REQUEST INFO;url=http://64.23.96.234/new-design/ContactUs/contactInfo-form.shtml;");
aI("text=FEEDBACK FORM;url=http://64.23.96.234/new-design/ContactUs/contactFeedback-form.shtml;");
}
with(milonic=new menuname("ContactHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
drawMenus();
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#FFFFFF";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#FFFFFF";
separatorsize=1;
subimage="";
subimagepadding=2;
}
with(menuStyleSub=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Verdana, Tahoma, Arial";
fontsize="100%";
fontstyle ='normal';
headerbgcolor="";
headercolor="";
offbgcolor="";
offcolor="#92571E";
onbgcolor="";
oncolor="#1E1D56";
outfilter="";
overfilter="";
padding=4;
pagebgcolor="";
pagecolor="#1E1D56";
separatorcolor="#92571E";
separatorsize=1;
subimage="";
subimagepadding=2;
}
with(milonic=new menuname("Products")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=PRODUCTS HOME;url=http://64.23.96.234/new-design/Products/index.shtml;")
aI("showmenu=Eclipse;text=ECLIPSE;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=VELOX LE;url=http://64.23.96.234/new-design/Products/productsVelox-LE.shtml;")
aI("showmenu=Software;text=SOFTWARE SOLUTIONS;url=http://64.23.96.234/new-design/Products/productsSoftware.shtml;")
aI("text=PRODUCT HISTORY;url=http://64.23.96.234/new-design/Products/productsHistory.shtml;")
}
with(milonic=new menuname("Eclipse")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseHome.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseNodal.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseLink.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseOutdoor.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseData.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipsePDHTM.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseQuattro.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsEclipseSoftware.shtml;")
}
with(milonic=new menuname("Software")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwareProVision.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Products/productsSoftwarePortal.shtml;")
}
with(milonic=new menuname("Solutions")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Solutions/index.shtml;")
aI("text=MOBILE;url=http://64.23.96.234/new-design/Solutions/solutionsMobile.shtml;")
aI("text=WIRELESS BROADBAND;url=http://64.23.96.234/new-design/Solutions/solutionsWireless.shtml;")
aI("text=UTILITIES;url=http://64.23.96.234/new-design/Solutions/solutionsUtilities.shtml;")
aI("text=EDUCATION;url=http://64.23.96.234/new-design/Solutions/solutionsEducation.shtml;")
aI("text=OIL & GAS;url=http://64.23.96.234/new-design/Solutions/solutionsOilGas.shtml;")
aI("text=DEFENSE;url=http://64.23.96.234/new-design/Solutions/solutionsDefense.shtml;")
aI("text=GOVERNMENT;url=http://64.23.96.234/new-design/Solutions/solutionsGovernment.shtml;")
aI("text=ENTERPRISE;url=http://64.23.96.234/new-design/Solutions/solutionsEnterprise.shtml;")
aI("text=HEALTHCARE;url=http://64.23.96.234/new-design/Solutions/solutionsHealthcare.shtml;")
aI("text=PUBLIC SAFETY;url=http://64.23.96.234/new-design/Solutions/solutionsPublicSafety.shtml;")
}
with(milonic=new menuname("Support")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("text=SUPPORT HOME;url=http://64.23.96.234/new-design/Support/index.shtml;");
aI("showmenu=Field;text=FIELD SERVICES;url=http://64.23.96.234/new-design/Support/supportFieldService.shtml;");
aI("showmenu=Technical;text=TECHNICAL SUPPORT;url=http://64.23.96.234/new-design/Support/supportTechnicalOverview.shtml;");
aI("showmenu=Repair;text=REPAIR / RETURN;url=http://64.23.96.234/new-design/Support/supportRepairReturn.shtml;");
aI("text=WARRANTY INFO;url=http://64.23.96.234/new-design/Support/supportWarrantyPolicy.shtml;");
aI("text=PRODUCT SOFTWARE UPGRADE;url=http://64.23.96.234/new-design/Support/supportUpgrades.shtml;");
}
with(milonic=new menuname("Repair")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnPolicy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportReturnHowDoI.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportRepairPrograms.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Support/supportHotline.shtml;")
}
with(milonic=new menuname("Field")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportTraining.shtml;")
}
with(milonic=new menuname("Technical")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Support/supportServiceCenters.shtml;")
}
with(milonic=new menuname("Company")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=CompanyHomeSub;text=COMPANY HOME;url=http://64.23.96.234/new-design/Company/;");
aI("text=NEWS and PRESS;url=http://64.23.96.234/new-design/Company/companyNewsPress.shtml;");
aI("text=INVESTOR;url=http://64.23.96.234/new-design/Company/companyInvestor.shtml;");
aI("text=CAREERS;url=http://64.23.96.234/new-design/Company/companyCareers.shtml;");
}
with(milonic=new menuname("CompanyHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
with(milonic=new menuname("Contact Us")){
style=menuStyleSub;
orientation="horizontal";
position="relative";
top=0;
left=0;
aI("showmenu=ContactHomeSubtext=CONTACTS HOME;url=http://64.23.96.234/new-design/ContactUs/index.shtml;");
aI("text=OFFICE LOCATIONS;url=http://64.23.96.234/new-design/ContactUs/contactLocations.shtml;");
aI("text=PARTNERS;url=http://64.23.96.234/new-design/ContactUs/contactPartner.shtml;");
aI("text=REQUEST INFO;url=http://64.23.96.234/new-design/ContactUs/contactInfo-form.shtml;");
aI("text=FEEDBACK FORM;url=http://64.23.96.234/new-design/ContactUs/contactFeedback-form.shtml;");
}
with(milonic=new menuname("ContactHomeSub")){
style=menuStyleSub;
alwaysvisible=0;
orientation="verticle";
position="relative";
top=0;
left=0;
aI("text=;url=http://64.23.96.234/new-design/Company/companyProfile.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyPhilosophy.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyExecutives.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyBoard.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnology.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyFAQs.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyPatents.shtml;")
aI("text=;url=http://64.23.96.234/new-design/Company/companyTechnologyGlossary.shtml;")
}
drawMenus();
Ruth
Poster: redbeard
Dated: Thursday September 14 2006 - 0:31:34 BST
I put the submenu back in the data file.
I had the submenu in the menu data file, but I wasn't able to right justify the submenu across all browsers and OS's. And the menu doesn't show up on some pages,
For example:
http://64.23.96.234/new-design/Products ... Home.shtml
and
http://64.23.96.234/new-design/ContactUs/index.shtml
Can you help me with a solution to these problems.
Poster: Ruth
Dated: Thursday September 14 2006 - 0:56:36 BST
Hello,
Hi, the one you had up before I sent the changes, the menu was at the left in IE5.5 not at the right side. I will try to work on it, but I don't really know what that
Code:
menuDisplay(gmobj("Products"),1)
is in the main menu.
I'll try and figure something out and post back.
Ruth
Poster: Ruth
Dated: Thursday September 14 2006 - 9:19:59 BST
Hi,
Whew, I finally figured out something that works. I am only able to test it at 800x600, 1024x768, 1152x864, 1280x1024 [real weird setting, made everything blurry] My computer wouldn't let me go any higher than the last one. I tested at the first 2 in IE5.5, 6, NN7.1, FF1.0.7 and 1.5.0.6, and in IE6 and FF 1.a5.0.6 and it worked at all those resolutions, each menu has the right side of the menu even with the right side of the main menu.
To every horizontal submenu that opens in that caramel colored area add the following:
Code:
screenposition="center";
menuwidth=783;
menualign="right";
margin=5;
menuwidth=783;
menualign="right";
margin=5;
Put that up in the menus, below the orientation="horizontal"; By setting the menu width to the same width as that table, and setting the menu at screenposition center, you center the menu, 'box' I guess you could call it, then settting menualign="right"; shifts the items to the right side of that 'box'. There reason screenposition="right"; doesn't work is because that shifts the whole menu all the way to the right of the browser, not the right of the table that's in the center.
Hope that helps.
By the way, you need to either change verticle to vertical, or you can leave that orientation="vertical"; out since that is the default. If you don't set it to horizontal it automatically is vertical.
Ruth