Want transparent main menu but dropdowns to be solid.

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Lucnet
Advanced
Advanced
Posts: 18
Joined: Tue Apr 06, 2004 10:44 pm
Contact:

Want transparent main menu but dropdowns to be solid.

Post by Lucnet »

I am needing a transparent menu. The header I guess you call it is what I need it for. I would like it to be transparent, but the drop down I want to be a solid color as you can see the text of the page that is behind the menu. Anybody know how to do this?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Simply define 2 styles, 1 for the main menu, and the other for the sub-menus.

See http://milonic.com/forum/viewtopic.php?t=2981 for more specific information, and also samples.
John
Lucnet
Advanced
Advanced
Posts: 18
Joined: Tue Apr 06, 2004 10:44 pm
Contact:

Post by Lucnet »

Thanks for the help. I have it working great.
Lucnet
Advanced
Advanced
Posts: 18
Joined: Tue Apr 06, 2004 10:44 pm
Contact:

Post by Lucnet »

Well I thought I had it fixed. The transparent thing is working fine, but my seperators aren't working.

my code for menu:

with(header=new mm_style()){
offcolor="#FFFFFF";
offbgcolor="none";
oncolor="#FFFFFF";
onbgcolor="none";
bordercolor="#000000";
borderstyle="none";
borderwidth=1;
fontsize=10;
fontstyle="normal";
fontweight="bold";
fontfamily="Verdana, Arial";
padding=1;
high3dcolor="none";
low3dcolor="none";
pagecolor="#FFFFFF";
pagebgcolor="";
headercolor="#ffffff";
headerbgcolor="#FFFFFF";
separatorsize = 1;
separatorpadding = 1;
separatorcolor = "#000000";

I have the separators in there but nothing is showing up. Is there another code I am over looking that works along with the separators?

Here is a link to my menu http://www.lucnetsolutions.com
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Remove the styles with values none.

maz
Lucnet
Advanced
Advanced
Posts: 18
Joined: Tue Apr 06, 2004 10:44 pm
Contact:

Post by Lucnet »

I removed that, but still no separator.
Lucnet
Advanced
Advanced
Posts: 18
Joined: Tue Apr 06, 2004 10:44 pm
Contact:

Post by Lucnet »

I noticed there where a couple other styles I had "none" on. I removed those and now I have a border all around the menu. I am just wanting a separator bar in between each button/link.
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Your link is not working so I can't see what you have.

if you don't want a border remove the border styles

maz
Lucnet
Advanced
Advanced
Posts: 18
Joined: Tue Apr 06, 2004 10:44 pm
Contact:

Post by Lucnet »

OK that did it.The border styles where over riding the separators. Once I delete the border styles the separators now show. Thanks.
Post Reply