Different Back ground Color

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
bsatyaprasad
Advanced
Advanced
Posts: 10
Joined: Wed Nov 12, 2003 4:53 pm

Different Back ground Color

Post by bsatyaprasad »

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://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;");
}
Post Reply