Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:40

screenposition="centre" works IE but not Firefox


Poster: wilsonw
Dated: Monday March 5 2007 - 14:34:29 GMT

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;");

}


Poster: John
Dated: Monday March 5 2007 - 16:10:25 GMT

Try 'center', not 'centre'.


Poster: wilsonw
Dated: Monday March 5 2007 - 22:03:43 GMT

Blush that works

Thanks


Poster: John
Dated: Tuesday March 6 2007 - 14:58:55 GMT

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