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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:38

.NET ASCX/User Controls issue


Poster: ClayA
Dated: Thursday March 11 2004 - 17:23:24 GMT

One of our clients has Version 3.5.15 of the Milonic menu. My problem seems to be with the z-index property. On the example web page here:
http://4.37.65.175/ots/repLegislationByCouncillor.aspx you'll notice that the dropdown menus appear underneath the HTML form controls. This ASPX page (repLegislationByCouncillor.aspx) incorporates two User Controls (ASCX files). One is "header.ascx" which contains the top area with the menu and the second is "footer.ascx" which contains the footer at the bottom. Now, if I create a single page (not using User Controls/ASCX files) then the dropdown menus overlay the HTML form controls just fine. So, the problem seems to be related to User Controls being used.

Any ideas?

Thanks,
Clay Angelly


Poster: Ruth
Dated: Friday March 12 2004 - 20:50:25 GMT

There's an option about hiding divs in the addmenu section. Since you have it in the page, not sure how that would work because it seems to come after the table where the form element is, but if you check the menu_array.js file you'll see this section

Code:
addmenu(menu=[ // This is the array that contains your menu properties and details
, // Menu Name - This is needed in order for the menu to be called
, // Menu Top - The Top position of the menu in pixels
and so on down to
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
So perhaps there's a way to set that form element part into a div? I'm not really sure since I don't use forms or divs. Since this site does not use frames, I'd personally suggest that your client move up to version 5 which has so many more features and options.

Ruth