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

V5, form elements and NS 4x

Poster: acshopper
Dated: Friday September 12 2003 - 0:20:21 BST


The version 5 menu cascades over form drop-downs just fine in IE 5/6 and NS 6/7, but goes behind these elements in NS 4.79. I even browsed this page with NS 4.79:
and got the same result (mouse over "DHTML Menu > Samples" to see what I mean).

I saw in the v5 forum that the "hidediv" function is no longer necessary, and verified that with my test page. However it still doesn't work with Netscape 4x browsers. I recognize that that only accounts for 5% of our traffic, but would still like it to work, if possible.


Poster: Hergio
Dated: Friday September 12 2003 - 14:10:37 BST

Umm, got a work around for ya. Put your dropdowns in a div and then on the mouseover for the menu, call a function that changes the display property of the div to none so it disappears, and then reappears when you mouse out.
This is a pretty common thing to do...if you have a yahoo account, open up your inbox and then open up one of the drop down menus they have at the top and you will see all the listboxes on the page disappear while the menu is open. You could also probably lift the code of that site too to see how its done.

Seems like alot of work for 5% of your users. Version 3 had the built in ability to hide divs, you could do alittle browser check on your site and display a v3 menu if they have netscape4, and only v5 otherwise.

Poster: Andy
Dated: Friday September 12 2003 - 19:45:23 BST

For the record - We are working on a fix for the older browsers, should have something soon, it is on the ToDo list anyhow.


continuing problem with menu behind form elements

Poster: acshopper
Dated: Saturday October 4 2003 - 1:56:03 BST


I thought I had this problem taken care of a couple of weeks ago, but today I noticed that it is back. The menu drops down behind my form elements (dropdown boxes)

I am using Version 5.0 Release Candidate 11.0 of milonic_src.js, and the form elements are inside a <div> tag. What else do I need to do?


Poster: John
Dated: Saturday October 4 2003 - 4:32:26 BST

RC14 is current, so I would suggest catching up. Not sure if this problem has been fixed yet, but you're a lot farther behind than just 3 releases (numerous sub-releases have been in each of the RCs).

Update problem

Poster: acshopper
Dated: Monday October 6 2003 - 17:41:16 BST


I took your advice and updated my js file to RC 15. I replaced the 3 files (milonic_src.js, mmenuns4.js, mmenudom.js) with the new ones, and now I can't see my menus at all. Do I need to make a change on the menu_data.js file as well? Note that this was a straighforward file swap, so the pathing is unchanged.

I can't tell if the new version solves the problem until I can look at the menus.


Poster: Hergio
Dated: Monday October 6 2003 - 18:27:24 BST

I believe there was a change in the way the menus are called from pages since RC11. The scriptpath variable has been eliminated. Look at the documentation included with the download to see how to how your pages should now include the menu files.

Poster: acshopper
Dated: Monday October 6 2003 - 18:48:43 BST


I have altered the code on my page so that it exacly duplicates the instructions in the "install.txt" file that came with the download:
<SCRIPT language=JavaScript src="milonic_src.js" type=text/javascript></SCRIPT>
<script language=JavaScript>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");

I have moved the three .js files into the same directory as my test page.

My menu_data file remains in its directory, but the pathing to it is correct.

I can't see the menu at all. This wasn't even the problem I first came here to solve. I need a real solution to the problem of version 5 menus disappearing behind form element in IE6 - I thought this had been handled in version 5. It worked a couple of weeks ago with release candidate 11, but doesn't anymore. Why would this be? It works in NS7.

Beyond frustrated.

Poster: Hergio
Dated: Monday October 6 2003 - 19:12:42 BST

I dont see you referencing menu_data in that snippet. Do you have a URL? If not, paste your menu_data code up here.

Poster: acshopper
Dated: Monday October 6 2003 - 19:35:27 BST


The full snippet with path to menu_data is:

<SCRIPT LANGUAGE="JavaScript" SRC="milonic_src.js" TYPE="text/javascript"></SCRIPT>
if(ns4)_d.write("<scr"+"ipt language=JavaScript src=mmenuns4.js><\/scr"+"ipt>");
else _d.write("<scr"+"ipt language=JavaScript src=mmenudom.js><\/scr"+"ipt>");
<SCRIPT LANGUAGE="JavaScript" SRC="/storyboards/milonic_menu/script/My_aso_data_lite.js" TYPE="text/javascript"></SCRIPT>

(I renamed menu_date.js to My_aso_data_lite.js" because we are working with several versions.)