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

Menu Positioning


Poster: BigJohnson
Dated: Saturday May 1 2004 - 19:58:26 BST

As with the menu shown on the Milonic front page, how do I achieve a fixed position, regardless of window resizing and screen resolution?

If I set a fixed position, and resize the window, the menu changes position, same applies if I change resolution.

I'm using frames at the moment to achieve this.

Thanks
BigJohnson


Poster: Ruth
Dated: Monday May 3 2004 - 22:39:34 BST

Do you have a url, and which browsers? As far as I know you would set the position as below:
Code:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=10;
left=55;alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=etc....;");
That coding should place the menu 10 pixels from the top and 55 pixels from the left.

Ruth


Poster: BigJohnson
Dated: Tuesday May 4 2004 - 8:45:38 BST

Actually, and more accuratley, my problem occurs because I centre my pages, so when the screen is resized the menu's position is incorrect.

Is there a way to say "Centre -Offset"?

Thanks
Craig


Poster: Ruth
Dated: Tuesday May 4 2004 - 16:36:40 BST

Not to my knowledge, as to that particular offset, however there is a sample for using screen position and offsets here http://www.milonic.com/menusample23.php that may help you.

Ruth


Poster: BigJohnson
Dated: Tuesday May 4 2004 - 19:20:13 BST

The sample looks exactly the thing, but the "-offset" doesn't seem to work.
The "+offset" however does.

Any ideas?

Thanks
Craig


Poster: Ruth
Dated: Tuesday May 4 2004 - 19:33:22 BST

We need a site url to see your coding, without it we have no way of seeing if it's something else that is overriding the -offset.

Ruth


Poster: kevin3442
Dated: Thursday May 6 2004 - 6:52:48 BST

Hi Craig,

Didi you try:
Code:
screenposition="center";
left="offset=-50";

in your menu definition?
Of course, you'd replace the -50 with the value you want to offset to the left.