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

itemwidth problem when using table bound positioning


Poster: clwu
Dated: Tuesday May 25 2004 - 16:07:00 BST

Hi, group,
I am playing with the example "Relative Positioning (Table Bound)" from: http://www.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://www.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


Poster: Andy
Dated: Wednesday May 26 2004 - 17:25:56 BST

Hi,

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

Regards
Andy


Poster: John
Dated: Wednesday May 26 2004 - 17:53:41 BST

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