Problem with Itemwidth

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tjl
Advanced
Advanced
Posts: 10
Joined: Wed Mar 31, 2004 1:19 am

Problem with Itemwidth

Post by tjl »

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
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

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.
tjl
Advanced
Advanced
Posts: 10
Joined: Wed Mar 31, 2004 1:19 am

Post by tjl »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

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!
John
tjl
Advanced
Advanced
Posts: 10
Joined: Wed Mar 31, 2004 1:19 am

Post by tjl »

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.
Post Reply