I did some research and found that I could give the offclass and onclass a style that would make the background of the submenu a opacity value that would give it a cool semi-transparent effect. However it also applies the opacity style to the text color, is there a way to target only the background and not the text?
Thanks,
Chuck
Opacity of the sub menu and the color of the text
-
- Beginner
- Posts: 7
- Joined: Thu Jul 24, 2003 5:45 pm
- Location: North West Suburbs of Chicago, IL
this is the code for the subMenu Style.
Chuck
ok and then this is the csswith(subMenuStyle=new mm_style()){
onbgcolor="#525651";
oncolor="";
offbgcolor="#373a36";
offcolor="";
bordercolor="";
borderstyle="solid";
borderwidth=0;
separatorcolor="#373a36";
separatorsize="0";
padding=3;
fontsize="10px";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="#FFFFFF";
pagebgcolor="";
headercolor="";
headerbgcolor="";
subimage="";
subimagepadding="3";
overfilter="Fade(duration=0.0);Alpha(opacity=80);Shadow(color='#666666', Direction=135, Strength=0)";
outfilter="randomdissolve(duration=0.0)";
offclass="opaque";
onclass="opaque";
}
Thanks,.opaque {
color:#FFFFFF;
opacity:.9;
-moz-opacity: .9;
filter:alpha(opacity=90);
}
Chuck
Hi Chuck,
OK, I thought that might be what you were using and unfortunately there's no way to apply that to 'part' of the menu. Such codes would apply to a whole item - I think they call it an object.
There are two things you could do, first and easiest would be to create a bgimage the way you want that transparency to look, the second and more time consuming would be to create images for every item with the text on the image and then make the background transparent and then keep your css code. That code would not apply to the images so it wouldn't make the text opaque.
Sorry
Ruth
OK, I thought that might be what you were using and unfortunately there's no way to apply that to 'part' of the menu. Such codes would apply to a whole item - I think they call it an object.
There are two things you could do, first and easiest would be to create a bgimage the way you want that transparency to look, the second and more time consuming would be to create images for every item with the text on the image and then make the background transparent and then keep your css code. That code would not apply to the images so it wouldn't make the text opaque.
Sorry

Ruth