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:56
Different Back ground Color
Poster: bsatyaprasad
Dated: Sunday November 16 2003 - 19:54:53 GMT
Please suggest where I am going wrong,
When the menu loads, all have the same background color, but I specified, two menus to have different color, offbgcolor=red. This menu turns red only after mouseover. Snippets below
with(menuStyle=new mm_style()){
onbgcolor="#4F8EB6";
offbgcolor="#000066";
oncolor="#ffffff";
offcolor="white";
bordercolor="white";
borderstyle="solid";
borderwidth=1;
separatorcolor="white";
separatorsize="1";
padding=3;
fontsize="11px";
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#82B6D7";
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="";
subimagepadding="2";
overfilter="Fade(duration=0.2);Alpha(opacity=90);Shadow(color='#777777', Direction=135, Strength=5)";
outfilter="randomdissolve(duration=0.3)";
}
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=60;
left=7;
menuwidth="100%";
menualign="left";
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.milonic.com/;status=Back To Home Page;");
aI("text=Milonic Menu;showmenu=MilonicMenu;openonclick=1;offbgcolor=red;");
aI("text=Test1;showmenu=Test1;openonclick=1;offbgcolor=#000066;");
aI("text=Test2;showmenu=Test2;offbgcolor=#000066;");
aI("text=Test3;showmenu=Test3;offbgcolor=#000066;");
aI("text=Test4;showmenu=Test4;offbgcolor=#000066;");
aI("image=./images/10.gif;imagealt=home;offbgcolor=red;");
}