Popup menu not working

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Popup menu not working

Post by jonathan »

I have upgraded to v7.1 from v6.1 and noticed that a popup menu is now not displaying when the page loads. I think it 'flashes' up and then disappears. Oddly enough, if I then use a 'SELECT' box, it then appears.

The problem also occured on 5.691.

Does anyone know if there is a new style or property command I need to be using? I have had a look around but can't find anything.

My menu is used on an Intranet, so I can't post the page link here, however, the code in question is as follows:

Code: Select all

with(stylePopup=new mm_style()) {bordercolor="#316AC5";borderwidth=1;fontfamily="Sans Serif";fontsize="11px";fontweight="normal";headerbgcolor="#0077CC";headercolor="white";offbgcolor="#C1D2EE";offcolor="black";onbgcolor="#0077CC";oncolor="white";outfilter="Wipe(duration=0.05,wipestyle=1,motion=reverse)";overfilter="Wipe(duration=0.1,wipestyle=1,motion=forward);Shadow(color='#888888', Direction=135, Strength=2)";padding=4;separatorcolor="#316AC5";subimage="/common/images/images/mnu_arrow.gif";}
with(milonic=new menuname("popupInfodeskNewTask")) {left=325;style=stylePopup;top=289;aI("separatorsize=1;status=Set 'Assigned To' drop down to you;text=Assign to Me;url=javascript:setAssignedTo();;showmenu=;");aI("status=Filter 'Assigned To' to your department members;text=Filter to Department;url=javascript:filterAssignedTo('dept');showmenu=;");aI("status=Remove 'Assigned To' filter;text=Remove Filter;url=javascript:filterAssignedTo();showmenu=;");}
Any help appreciated.

Thanks
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

I tried the two menu samples for pop menus and both work. I tried your code and it works, also. You do have an extra semi-colon in the first aI string, not sure if that was the cause, I removed it. Does the pop menu sample work for you?

Ruth
User avatar
jonathan
Advanced
Advanced
Posts: 26
Joined: Wed Jul 02, 2003 1:13 pm
Location: UK

Post by jonathan »

I will go and try the samples now and see. My point is that on v6.1 it works, and with no data change, v7.1 doesn't.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

If you could give a link to the page on which it doesn't work we can check things. If that's not an option, we need to see the full data file, and the html page code and if you have a style sheet we would need that also.

Since it worked before and the popmenu is working for me on the sample, and your code is working when I use that small portion of it on a page using version 5.71 I have to think it is something else that we don't have yet that is in conflict with the newest release.

Ruth
Post Reply