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:00
Transparent Menu
Poster: gooshy1
Dated: Friday July 14 2006 - 9:20:17 BST
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:
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();
_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.