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:07
to kevin3442 and everybody can help me
Poster: cdnieto
Dated: Thursday October 7 2004 - 14:57:29 BST
Hello, few days ago i have a dub about a milonic menu and you help me.
Well i need you again you can se what happend to me in http://www.nacionalengalicia.comThe menu is allright but in http://www.nacionalengalicia.com/index1.htm the menu is not in the center.
What can i do? please help
thank you
menu not centered
Poster: Phil
Dated: Thursday October 7 2004 - 15:15:04 BST
I suspect this an HTML thing...
Looking breifly at your HTML source you have, at the top (after the scripts)
table....
tr
td
table.....
td
table....
it's the td between the two table definitions here that you can't really do like that....
cheers
Phil
Poster: cdnieto
Dated: Thursday October 7 2004 - 16:47:07 BST
When the resolution is 800x600 there is no problem. The problem exist when the resolution is 1024x... Then the menu change the position in the middle.
i want to know how can the menu stay in the same position in the middle.
thank you
Poster: Ruth
Dated: Thursday October 7 2004 - 19:51:47 BST
It looks like you are using two different layouts on those pages, the second page is not the same layout coding as the first.
Ruth
Poster: kevin3442
Dated: Tuesday October 12 2004 - 0:53:02 BST
Hello,
It looks like you've decided to vertically align the content on the page to the middle. To makethe main menu's position adjust, change the top of your Main Menu definition from this:
Code:
with(milonic=new menuname("Main Menu")){
style=background;
screenposition="center";
top=165;
left="offset=-290";
.
.
.
}
style=background;
screenposition="center";
top=165;
left="offset=-290";
.
.
.
}
To this
Code:
with(milonic=new menuname("Main Menu")){
style=background;
screenposition="center;middle";
top="offset=60";
left="offset=-290";
.
.
.
}
style=background;
screenposition="center;middle";
top="offset=60";
left="offset=-290";
.
.
.
}
screenposition="center;middle" will make the menu want to be in the center (horizontally) and middle (vertically) of the page. The top and left offsets will then move the menu from that position. Adjust the offset values as needed.
Hope that helps,
Kevin