Drag and drop pop-up menus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Shap5202
Super Advanced
Super Advanced
Posts: 62
Joined: Thu Sep 29, 2005 2:36 pm

Drag and drop pop-up menus

Post by Shap5202 »

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: Select all

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;");
}	
The code to display the menu is simply

Code: Select all

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.
Post Reply