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:06
Drag and drop pop-up menus
Poster: Shap5202
Dated: Thursday May 11 2006 - 14:00:42 BST
As always, I apologize if this has been posted, I tried to search but couldn't find an answer...
I have a pop-up menu that is dragable, but in IE (firefox works fine) when I drag the menu, drop-downs are not hidden behind the menu. Any drop-downs initially under the menu hide correctly, but if I move the menu, you can tell there is an iFrame (or something.. however the menus work under the covers) is left behind where the menu first opened. This is an intra net site so I can't post a URL, but I'll do my best to post the menu code
Code:
with(fieldHelpStyle=new mm_style()){
styleid=1;
bordercolor="#9BA6C2";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#94BCF8";
headerborder="1px solid #1852D8";
headercolor="#000000";
imagealign="top";
itemwidth="185px";
menubgcolor="#FFFFFF";
menubgimage="submenu_bkg.gif";
offbgcolor="transparent";
offcolor="#000000";
padding=0;
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
}
with(milonic=new menuname("FieldHelp")){
orientation="vertical";
style=fieldHelpStyle;
overfilter="Alpha(opacity=80);)";
aI("type=dragable;text=Dragable piece here");
aI("text=some text goes here;");
}
styleid=1;
bordercolor="#9BA6C2";
borderstyle="solid";
borderwidth=1;
fontfamily="arial, tahoma";
fontsize="11px";
fontstyle="normal";
headerbgcolor="#94BCF8";
headerborder="1px solid #1852D8";
headercolor="#000000";
imagealign="top";
itemwidth="185px";
menubgcolor="#FFFFFF";
menubgimage="submenu_bkg.gif";
offbgcolor="transparent";
offcolor="#000000";
padding=0;
separatoralign="right";
separatorcolor="#999999";
separatorpadding=1;
separatorwidth="85%";
}
with(milonic=new menuname("FieldHelp")){
orientation="vertical";
style=fieldHelpStyle;
overfilter="Alpha(opacity=80);)";
aI("type=dragable;text=Dragable piece here");
aI("text=some text goes here;");
}
The code to display the menu is simply
Code:
popup("FieldHelp", 1);
Wasn't sure if I wasn't doing something right... Everything works correctly if alwaysvisible=1 since the menu is initially displayed, so it seems to be something to do with the popup.