screenposition="centre" works IE but not Firefox

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
wilsonw
Beginner
Beginner
Posts: 2
Joined: Mon Mar 05, 2007 3:23 pm

screenposition="centre" works IE but not Firefox

Post by wilsonw »

Hi

Thanks for a great product

My page works correctly in Internet Explorer but in Firefox the menu is positioned hard left ignoring the screenposition="centre" menu property

can you please fix this or tell me what i am doing wrong?

My page address is http://www.ridgebacks.com.au

my menu_data.js is as below

fixMozillaZIndex=true; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=300;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=5;
buildAfterLoad=true;



with(menuStyle=new mm_style()){
bordercolor="#296488";
borderstyle="none";
borderwidth=0;
//fontfamily="Verdana, Tahoma, Arial";
fontfamily="Arial";
fontsize="12px";
fontstyle="normal";
//fontweight="bold";
onbold=1;
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#592B13";
offcolor="#CCCC66";
onbgcolor="#4F8EB6";
oncolor="#CCCC66";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.4);Alpha(opacity=100);Shadow(color=#592B13', Direction=135, Strength=0)";
padding=1;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#592B13";
separatorsize=1;
separatorpadding=3;
subimage="/MilonicMenu/arrow.gif";
subimagepadding=0;
horizontalMenuDelay="true"

}

with(submenuStyle=new mm_style()){
bordercolor="#660000";
borderstyle="solid";
borderwidth=7;
//fontfamily="Verdana, Tahoma, Arial";
fontfamily="Arial";
fontsize="12px";
fontstyle="normal";
//fontweight="bold";
onbold=1;
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#660000";
offcolor="#CCCC66";
onbgcolor="#4F8EB6";
oncolor="#CCCC66";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.4);Alpha(opacity=80);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#592B13";
separatorsize=2;
separatorpadding=3;
subimage="/MilonicMenu/arrow.gif";
subimagepadding=5;

}

with(infosubmenuStyle=new mm_style()){
bordercolor="#FFFFCC";
borderstyle="solid";
borderwidth=7;
//fontfamily="Verdana, Tahoma, Arial";
fontfamily="Arial";
fontsize="12px";
fontstyle="normal";
//fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#FFFFCC";
offcolor="#000000";
onbgcolor="#FFFFCC";
oncolor="#000000";
outfilter="randomdissolve(duration=0.3)";
overfilter="Fade(duration=0.4);Alpha(opacity=70);Shadow(color=#777777', Direction=135, Strength=5)";
padding=2;
pagebgcolor="#82B6D7";
pagecolor="black";
separatorcolor="#592B13";
separatorsize=0;
separatorpadding=0;
subimagepadding=5;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
screenposition="centre";
top=296;
orientation="horizontal";
style=menuStyle;
aI("text= ;");
aI("showmenu=NewsInfo;text=<strong>News</strong>;url=/News.htm;target=blank;");
aI("showmenu=SiteMapInfo;text=<strong>Site Map</strong>;url=/SiteMap.htm;target=blank;");
aI("showmenu=Dogs;text=Our Dogs;url=http://www.microsoft.com.au;target=blank;");
aI("showmenu=Litters;text=Litters;");
aI("showmenu=BreedInformation;text=Breed Information;");
aI("showmenu=CaringInfo;text=Caring;url=/Bringing_Up_A_Puppy.htm;target=blank;");
aI("showmenu=FeedbackInfo;text=Feedback;url=/feedback.htm;target=blank;");
aI("showmenu=ContactUsInfo;text=Contact Us;url=/Contact_Us.htm;target=blank;");
//aI("showmenu=OtherBreedersInfo;text=Other Breeders;url=/Other_Rhodesian_Breeders.htm;target=blank;");
aI("showmenu=LinksInfo;text=Links;url=/Links.htm;target=blank;");
aI("showmenu=ForumsInfo;text=Discussion Forum;url=/cgi-bin/forum.pl;target=blank;");
aI("showmenu=SearchInfo;text=<strong>Search</strong>;url=#Search;");

}
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Try 'center', not 'centre'.
John
wilsonw
Beginner
Beginner
Posts: 2
Joined: Mon Mar 05, 2007 3:23 pm

Post by wilsonw »

Blush that works

Thanks
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Not to worry. We all goof up now and then! :D
John
Post Reply