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

separatorsize, and messing up menu length


Poster: kevdog98
Dated: Monday September 25 2006 - 22:45:39 BST

Hi,

I have a problem when I try to remove the separatorsize from my menu. When I remove it it looks like this. It does not display themenu at the correct width

http://www.upc.org/mis1.jpg

and my code looks like this:

with(menuStyle=new mm_style()){
fontfamily="Trebuchet MS";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#3399CC";
offcolor="#FFFFFF";
onbgcolor="#297AB8";
oncolor="#FFFFFF";
pagebgcolor="#82B6D7";
pagecolor="black";
padding=4;
subimage="transparent.gif";
itemheight=30;
itemwidth=114;
}



When I do not remove it the with of the menu is correct but it adds the white separators I do not want.


http://www.upc.org/mis2.jpg


And my code loos like this:


with(menuStyle=new mm_style()){
fontfamily="Trebuchet MS";
fontsize="11";
fontstyle="normal";
fontweight="bold";
headerbgcolor="#ffffff";
headercolor="#000000";
offbgcolor="#3399CC";
offcolor="#FFFFFF";
onbgcolor="#297AB8";
oncolor="#FFFFFF";
pagebgcolor="#82B6D7";
pagecolor="black";
padding=4;
separatorcolor="#FFFFFF";
separatorsize=0;
subimage="transparent.gif";
itemheight=30;
itemwidth=114;
}


What am I doing wrong? How can I remove the separatorsize and still have my menu display the correct width?


Thank You,

Kevin

[/url]


Poster: kevdog98
Dated: Tuesday September 26 2006 - 21:28:33 BST

I figured it out, Thanks.


Poster: John
Dated: Wednesday September 27 2006 - 14:54:26 BST

Great! Glad to hear it.

Enjoy the system...