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

Some SubMenu Items Wrong Size

Poster: InfernoCruiser
Dated: Monday January 2 2006 - 13:49:35 GMT

I'm seeing a problem on different submenu items in IE6 - appears that the itemwidth settings aren't working properly on a few items, and they don't open to full size. The strange part is that most do .... :?

This seems to be related to the version of the menu (just purchased), since the version used to build the menus doesn't seem to do this.

The "real" site is here:
Due to the issue, I've loaded a previous version of the menu source files (v5.732), although the content is the latest.

I have the exact same layout with the latest source files (5.738) located for testing here:

If you choose from the main categories, then select an item with multiple drop-downs, you'll see how some don't expand. This seems to happen mainly with items to the far right side of the screen.

I've tried a variety of items (menuwidth, etc.), but that didn't seem to affect these sub-menu items.

As I mentioned, this seems to be happening in IE6. A quick check in FF seems to be OK.

Any thoughts?

table based menus

Poster: Migru
Dated: Monday January 2 2006 - 14:52:55 GMT


in order to implement table based menus please see

and you will soon find out, that both your menu data files have to be modified.
Suggestion: two "main menus" e.g. main_01 and main_02 should replace what you have actually implemented as embedded_WS_Help_Main.js and menu_data_Problems.js.

All global variables , styles and subs you could collect in a menu_data.js
(alternatively in two such files) file and place the reference for that/them direct below the milonic reference files.


Poster: InfernoCruiser
Dated: Monday January 2 2006 - 15:26:35 GMT

Thanks, Michael.

I posted a question to Andy a while back when first working on this type of layout, and all indications at that time were that it would work as is (and it did ;) ).

I just did a quick test by using a second 'embedded' main menu for one of the pages in question, then placed the rest of the menu in a js file outside of the table and it seems to work as intended.

Thanks for catching that. Since I'm a fan of this menu (I think I've licensed it for 6 or 7 sites so far) and I'm using it for this Help site, I want to make sure it looks and functions as intended.

Thanks again.

Now off to make some changes .... :D

table based menu

Poster: Migru
Dated: Monday January 2 2006 - 15:36:34 GMT


I keep watching this topic, so if there is something else, let me know.

I am too very interested, to improve permanently and it is most effective to learn with somebody else´s "errors" .


Poster: InfernoCruiser
Dated: Monday January 2 2006 - 16:58:26 GMT

Changes have been made and uploaded. I also added a few overflow="scroll"; entries on longer lists - we'll see how the viewers like that (I tend to forget that some people might not have a scrolling mouse 8O ).

Thanks again.

table based etc

Poster: Migru
Dated: Monday January 2 2006 - 17:27:33 GMT


I´m wondering, why you have still the style definitions and the global definitions in embedded_WS_Help_Main.js. This is not what´s recommended ! It is the same with embedded_data_Problems.js.

If you want it to work in different browsers, hope it will work the way you do it.


Poster: InfernoCruiser
Dated: Monday January 2 2006 - 18:00:29 GMT

I'm a little confused ... how would the main menu section/s compile and display properly without the definitions included in them?

If you know of a link that shows how it should be done properly, I'd be eager to see it. ;)
This link: doesn't really get into that at all.

<on edit> This example page seems to be pretty close to how I have the menus set up: ... /index.htm

Any suggestions appreciated.

menus in a table

Poster: Migru
Dated: Monday January 2 2006 - 18:19:42 GMT

Look at my "test" page

There are 4 "main menus" in a table, three of them on top, then comes an IFRAME and an additional menu is below the iframe.
Only two of these menus have subs. But it would not make any difference, if all four would have subs.
Any menu could be a main menu, position="relative"; alwaysvisible=1;
etc. makes it. The styles and global settings should be copied into the file outside the table. And if the styles are different but are named equal, then rename them to style1 and style2 etc.
And within the files "embedded....", I do not have any style definition and no global definitions, it is all in the file outside the table. This is according to milonic recommendations.

Please see too


Poster: Migru
Dated: Monday January 2 2006 - 18:52:04 GMT

Yes the example ... /index.htm

is correct, but please the right column there is the sample which refers to the relative positioned menu. There you can see at first the menu_data.js
and further down in that column, the main menu (yellow background) which has no global settings, they have to be in the menu_data.js.

Poster: InfernoCruiser
Dated: Monday January 2 2006 - 19:20:13 GMT

I've done the following:
- Made a new file called menu_styles.js and placed just the style/s for the menu in it.
- Placed a script tag to call that file (outside of the table items) on all pages.
- Went into all of the .js files for the menu items and removed those items now located in the menu_styles.js file.

Uploaded a test version here:

table based

Poster: Migru
Dated: Monday January 2 2006 - 19:24:29 GMT

Yes, halfways correct, should be done with the


in the sames way!!

Poster: InfernoCruiser
Dated: Monday January 2 2006 - 19:37:09 GMT

oops - missed that one :oops:

Thanks for all of your help, Michael.

Now I need to rewrite the help page I have on the site for centering this menu (my attempt to get more people to use it). ;)