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

Sub-menu doesn't stay open in IE


Poster: deezle
Dated: Tuesday April 27 2004 - 22:53:43 BST

This problem doesn't show in Opera or Mozilla, but in IE 6 (haven't been able to test yet in earlier versions of IE) anything deeper than 2 tiers doesn't stay open.

The example is at http://www.build-survey.com . Start with the Products menu item and go down, try to select one of the items on the third tier. The menu collapses.

Any advice would be greatly appreciated!

NB: Sorry for the slow load, the Flash isn't optimized.


Poster: Maz
Dated: Wednesday April 28 2004 - 7:48:43 BST

Move this script up under the <body> tag:

Code:

<SCRIPT language=JavaScript src="/Menu/milonic_src.js" type=text/javascript></SCRIPT>
      <script   language=JavaScript>
      if(ns4)_d.write("<scr"+"ipt language=JavaScript src=/Menu/mmenuns4.js><\/scr"+"ipt>");
        else _d.write("<scr"+"ipt language=JavaScript src=/Menu/mmenudom.js><\/scr"+"ipt>");
      </script>



These things might cause a problem in some browsers:

aI("text=;");
// Sub Menus Style
// Main Menu Style
subimagepadding="2px"; remove the quotes

I'm not sure what this might do:
GrayMenuHeader = "fontsize=11px;fontweight=normal;padding=2px 5px 2px 10px";
BlueMenu = "oncolor=#01669A;offcolor=#01669A;padding=2px 5px 2px 10px";
AdminMenu = "oncolor=#CC3300;offcolor=#CC3300";

maz

Found the problem...


Poster: deezle
Dated: Wednesday April 28 2004 - 19:05:18 BST

I simply had to adhere to the example found at http://www.milonic.com/menusample.php?sampleid=9 regarding relatively positioned menus. Now it works.

I had put the main menu and all child menus in the menu_data.js file, but the recommendation is to have just the child menu data in the menu_data.js file, and have the main menu (that is relatively positioned) written out on the page where the menu should appear.

Thanks very much for you time in answering my post!