Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:54

Popup menu not working


Poster: jonathan
Dated: Monday February 7 2005 - 11:07:33 GMT

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


Poster: Ruth
Dated: Monday February 7 2005 - 16:39:53 GMT

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


Poster: jonathan
Dated: Monday February 7 2005 - 16:54:30 GMT

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.


Poster: Ruth
Dated: Monday February 7 2005 - 19:29:17 GMT

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