itemwidth problem when using table bound positioning

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
clwu
Beginner
Beginner
Posts: 3
Joined: Tue May 25, 2004 3:41 pm

itemwidth problem when using table bound positioning

Post by clwu »

Hi, group,
I am playing with the example "Relative Positioning (Table Bound)" from: http://milonic.com/menusample9.php
And I found a problem when I add "itemwidth=100;" into the section of "Main Menu" ( I like to see the items on main menu have a fixed width).
Then you will see the first and last item are streched to fit the width of the table cell, which looks ugly. Here is how it looks like:

Image

This is the embeded code for drawing main menu:
<script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;

itemwidth=100;
alwaysvisible=1;
orientation="horizontal";
overfilter="";
position="relative";
aI("text=Home;url=http://milonic.com/;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}
drawMenus();
</script>


Can anybody know how to fix this problem? Thanks.


Chunlei
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi,

A fix will be on it's way inside version 5.21 due out very soon.

Regards
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Can't ask for any better service than that :!:
John
Post Reply