In addition my parent menus that have children are not showing the hand icon correctly as I've seen before on older menus.
here is my menu file:
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=0;
_subOffsetLeft=-2;
with(menuStyle=new mm_style()){
bordercolor="#999999";
borderstyle="solid";
borderwidth=0;
fontfamily="Arial, sans-serif";
fontsize="11px";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#35411B";
offcolor="#FFFFFF";
onbgcolor="#8A8A52";
oncolor="#FFFFFF";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="#8A8A52";
pagecolor="#FFFFFF";
separatorcolor="#EBAC28";
separatorsize=4;
subimage="";
subimagepadding=0;
align="center";
}
with(menuStyleSub=new mm_style()){
bordercolor="#8A8A52";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, sans-serif";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#DDDCCB";
offcolor="#35411B";
onbgcolor="#35411B";
oncolor="#FFFFFF";
outfilter="";
overfilter="";
padding=0;
pagebgcolor="#8A8A52";
pagecolor="#FFFFFF";
separatorcolor="#FFFFFF";
separatorsize=0;
subimage="";
subimagepadding=0;
rawcss="padding-left:5px;padding-right:20px;background-image:url(images/menu-arrow.gif);background-repeat:no-repeat;background-position:right center;"
}
with(milonic=new menuname("menu_fap")){
style=menuStyleSub;
itemheight="23px";
margin="3";
itemwidth="136px;"
aI("imagepadding=4px;text=Current Projects;status=Current Projects;title=Current Projects;url=index.asp?action=projects_current;");
......................
}
with(milonic=new menuname("menu_au")){
style=menuStyleSub;
itemheight="23px";
margin="3";
itemwidth="192px;"
image="images/menu-arrow.gif";
aI("text=Company History;status=Company History;title=Company History;url=index.asp?action=aboutus_history;");
....................
}
drawMenus();
and then the menu call:
Code: Select all
with(milonic=new menuname("MainNavigation")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
menuheight="23px";
menuwidth="481px";
aI("itemwidth=144px;text=FIND A PROPERTY;status=Find A Property;title=Find A Property;showmenu=menu_fap;");
aI("itemwidth=129px;text=BUYERS PAGE;status=Buyers Page;url=http://clients2.serverside.net/hearthview/index.asp?action=buyerspage;title=Buyers Page;");
aI("itemwidth=108px;text=ABOUT US;status=About Us;title=About Us;showmenu=menu_au;");
aI("itemwidth=88px;text=NEWS;status=News;url=http://clients2.serverside.net/hearthview/index.asp?action=news;title=News;");
}
drawMenus();
</script>