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

100% width and offset issue?


Poster: evalese
Dated: Friday February 27 2004 - 17:16:25 GMT

Hi all,

First, thanks for this great product. It's a real timesaver.

I noticed that if you specify 100% width and then left offset the menu that the menu pushes the page width out to the size of the screenwidth + offset.

Is it possible to remove the offset from the menu width in this case so that menu width + offset = screenwidth? Is there a screen width variable that isn't documented that I can use?

Here's some code that pushes the page width out 100px:

with(main=new menuname("Main Menu")){
style=menuStyle;
orientation="horizontal";
menuwidth="100%";
menualign="left";
screenposition="top;left";
top="offset=75";
left="offset=100";
...

Thanks,
Ben