I am having a problem with my horizontal submenus. You can see the problem here:
http://64.23.96.234/new-design/Support/ ... licy.shtml
Basically the submenus are positioning themselves at the top of the page, and appearing on roll-over one under the other bringing the entire page down with each submenu.
I am using relative positioning with offsets for top and left. as you can see in my code below:
Code: Select all
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")){
overflow="scroll";
style=menuStyleSub;
orientation="horizontal";
top="offset=84px";
left="offset=-272";
align="center";
position="relative";
aI("text=PRODUCTS HOME;url=http://64.23.96.234/new-design/Products/productsHome.shtml;")
aI("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("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("Solutions")){
style=menuStyleSub;
orientation="horizontal";
top="offset=84px";
left="offset=-428";
align="center";
position="relative";
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";
top="offset=84px";
left="offset=-543";
align='center';
position="relative";
aI("text=SUPPORT HOME;url=http://64.23.96.234/new-design/Support/supportHome.shtml;");
aI("text=FIELD SERVICES;url=http://64.23.96.234/new-design/Support/supportFieldService.shtml;");
aI("text=TECHNICAL SUPPORT;url=http://64.23.96.234/new-design/Support/supportTechnicalOverview.shtml;");
aI("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=RETURNS;url=http://64.23.96.234/new-design/Support/supportReturnPolicy.shtml;");
aI("text=TRAINING;url=http://64.23.96.234/new-design/Support/supportTraining.shtml;");
aI("text=UPGRADE INFO;url=http://64.23.96.234/new-design/Support/supportUpgrades.shtml;");
}
with(milonic=new menuname("Company")){
style=menuStyleSub;
orientation="horizontal";
top="offset=84px";
left="offset=-183";
position="relative";
aI("text=COMPANY HOME;url=http://64.23.96.234/new-design/Company/companyHome.shtml;");
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("Contact Us")){
style=menuStyleSub;
orientation="horizontal";
top="offset=84px";
left="offset=-398";
position="relative";
aI("text=CONTACTS HOME;url=http://64.23.96.234/new-design/ContactUs/contactHome.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;");
}
drawMenus();
Any help would be greatly appreciative.
Thanks in advance