EDITED: I added the code as recommended in another post : buildAfterLoad=true
and submenus now are positioned correctly.
I'm trying out the menus for the first time.
Of course I'm having an offset problem with IE.
The submenu is offset to the right when it is placed in a centered div. This becomes obvious when the window is open to 1280 \px wide in IE.
The div it's in is inside another centered div (margin: 0 auto;). And the style for the containing div is positioned relative:
Code: Select all
#blog-header {
position:relative;
margin: 0;
...
}
http://www.bobata.com/clients/WPCT/prot ... _temp.html
Now I'm just wondering what the best method is to keep this submenu from floating off to the right. I saw a few different solutions here but I'm wondering if there's some obvious way I should try first.
the menu_data.js code looks like this:

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="#ccc";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial Narrow, Tahoma, Verdana";
fontweight="bold";
fontstyle="normal";
fontsize="100%";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#f9f9ff";
offcolor="#a03";
onbgcolor="#ddddff";
oncolor="#600";
outfilter="randomdissolve(duration=0.0)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#CCC";
separatorsize=1;
//subimage="arrow.gif";
//subimagepadding=2;
}
with(menuStyle1=new mm_style()){
bordercolor="#ccc";
borderstyle="solid";
borderwidth=1;
fontfamily="Arial, Tahoma, Verdana";
fontweight="normal";
fontstyle="normal";
fontsize="90%";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#f9f9ff";
offcolor="#666";
onbgcolor="#ddddff";
oncolor="#600";
outfilter="randomdissolve(duration=0.0)";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color=#777777', Direction=135, Strength=3)";
padding=4;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#CCC";
separatorsize=1;
//subimage="arrow.gif";
//subimagepadding=2;
}
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
left=400;
orientation="horizontal";
style=menuStyle;
top=177;
//aI("text= Home ;url=http://milonic.com/;");
aI("showmenu=WhoWeAre;text= WHO WE ARE ;");
aI("showmenu=Sundays;text= SUNDAYS ;");
aI("showmenu=Adults;text= ADULTS ;");
aI("showmenu=YouthAndChildren;text= YOUTH AND CHILDREN ;");
aI("text=Calendar;text= CALENDAR ;");
aI("text=Newsletter;text= NEWSLETTER ;");
}
with(milonic=new menuname("WhoWeAre")){
overflow="scroll";
style=menuStyle1;
aI("text=Staff;url=http://www.WPCtiburon.org/WhoWeAre.htm#Staff;")
aI("text=History;url=http://www.WPCtiburon.org/WhoWeAre.htm#History;")
}
...