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

Problem with Itemwidth


Poster: tjl
Dated: Tuesday May 25 2004 - 0:35:59 BST

I just downloaded the latest version of the menu today. Using my previous menu_data.js (from version 5.05), I reviewed the impact to my menus and noticed that the itemwidth property did not appear to be adjusting the width of the menu item.

The code in question is as follows:

with(milonic=new menuname("External Sites")){
style=menuStyle;
top=50;
left=616;
overflow="scroll";
aI("text=Capital Markets Group External Sites;status=Capital Markets Group External Sites;url=/externalSites/externalSites_CapitalMarkets.shtml;itemwidth=50;");


Any idea what might be going on?

Thanks,

Tim


Poster: Andy
Dated: Wednesday May 26 2004 - 17:29:02 BST

I've just tried this and it appeared to work fine with version 5.20a.

Do you have a URL that we can see, it will help us to determine the problem much more accurately

Cheers
Andy.


Poster: tjl
Dated: Wednesday May 26 2004 - 19:21:29 BST

Unfortunately, this is on an internal test system (behind firewall). Is there some additional information that I can post which would help you diagnose this problem?

Thanks.


Poster: John
Dated: Wednesday May 26 2004 - 20:47:09 BST

Post your complete _data file here, and also the HTML for the JS menu calls. If the page is relatively small post the whole thing.

Be sure to use the [code][/code] tags!


Poster: tjl
Dated: Wednesday May 26 2004 - 22:51:56 BST

Apologies to all. I tracked the problem back to the addition of an image to my style. I must not have noticed that the menu didn't wrap after that.

I'm assuming that with an image present, the text cannot wrap?

Thanks for your help.