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

Milonic with Invision - Default Table width 100% errors


Poster: loz
Dated: Wednesday August 3 2005 - 8:54:18 BST

Invision power board automatically sizes all tables to 100%

yes, this is annoying but it does it to prevent a few bug's in everyones favourite browser : ie.

http://v2.nissansilvia.com/forums

does anyone know how to set the widths of the menu items so that they dont cover the whole screen... they should be appearing like this :

http://www.nissansilvia.com/forums


I have tried "itemwidth=100" but all that does is make the text wrap at 100px, not size the div's and tables at 100...

any help would be appreciated!


Poster: Ruth
Dated: Wednesday August 3 2005 - 14:31:07 BST

I do see the problem, but since both pages use the same menu version I'm not sure why it's doing it one place and not the other. It works fine in IE on both sites, but not in Netscape, Firefox etc.

To fix the problem in those browsers set menuwidth="100px"; in the submenus. I'd also set itemwidth to the same width, though menuwidth seems to fix it in NN 7.1 and Firefox.
Code:
with(milonic=new menuname("Forums")){
style=submenuStyle;
margin=7;
menuwidth="200px";
itemwidth="200px";


Ruth

help!


Poster: loz
Dated: Wednesday August 10 2005 - 12:59:47 BST

hey ruth, thanks for the help : it worked well...

only problem now :

http://v2.nissansilvia.com/includes/top.php

in Mozilla it's sweet, in IE... headaches again... works well for all but the 3rd level flyout's : the alignment still seems to be stuffed...

any help would be greatly appreciated..!


Poster: Ginocide
Dated: Wednesday August 10 2005 - 16:22:12 BST

Are you talking about the arrow in your submenus being right up against the text in IE? If so, check out where the arrow is handled in your style "module":

Code:
subimage="/includes/menu/arrow.gif";
subimagepadding=0;
align="left";


I think the alignment is giving you the headache. Try changing it to "right" or eliminating that line altogether. I don't have an alignment in my menu and it seems that the default is right. If it's too far to the right for you, just play with the subimagepadding (usually anything between 2 and 10 is a good number). Hope this helps. :)


Poster: Ruth
Dated: Wednesday August 10 2005 - 16:54:27 BST

Hi,

It took me forever to find this :oops: I should make sure I always try it with my files first.....

There is something wrong with your Milonic program files, milonic_src.js, mmenudom.js mmenuns4.js. When I look at the page using my program files everything is fine. Perhaps yours got corrupted on upload to your site. Try uploading them again and see if that fixes it.

If that doesn't download the menu again and upload the files from the new download.

As to the align= feature, just to clarify, align and valign apply only to text.

Ruth