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.
style=menuStyle;
top=10;
left=55;alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=etc....;");
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