Transparent Menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
gooshy1
Beginner
Beginner
Posts: 6
Joined: Thu Dec 01, 2005 1:22 pm

Transparent Menu

Post by gooshy1 »

I am trying to create a menu that will follow the screen down as the user scrolls and has a transparent background.

I have managed to get the menu to scroll which was pretty easy but I cannot get the menu to go transparent. I have the following in my data file:

Code: Select all

fixMozillaZIndex=true; //Fixes Z-Index problem  with Mozilla browsers but causes odd scrolling problem, toggle to see if it helps
_menuCloseDelay=500;
_menuOpenDelay=150;
_subOffsetTop=2;
_subOffsetLeft=-2;


with(menuStyle=new mm_style()){
fontfamily="Arial";
fontsize="110%";
fontstyle="normal";
offbgcolor="transparent";
onbgcolor="transparent";
menubgimage="/imgs/menu/background.gif";
padding=4;
separatorsize=1;
subimagepadding=2;
}

with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
followscroll=1;
left=425;
orientation="horizontal";
style=menuStyle;
top=50;
aI("text=TITLE;");
}

with(milonic=new menuname("GSTOP")){
overflow="scroll";
style=menuStyle;
}



drawMenus();
This is running on a local server on my network so I dont have any public URLS where it can be seen sorry.
gooshy1
Beginner
Beginner
Posts: 6
Joined: Thu Dec 01, 2005 1:22 pm

Post by gooshy1 »

I have just checked and the transparency works fine with FF but does not work at all with IE 6.

Are there any work arounds?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Someone with IE 6 would have to check it but we'd need a page.

You have a menu bgimage what is that? Is it some kind of transparent one? I'd think with off and on bgcolors set to transparent, then what you would see is that bgimage.

Ruth
Post Reply