How to align?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Ken|x
Beginner
Beginner
Posts: 4
Joined: Wed Oct 23, 2002 10:38 am
Location: Singapore

How to align?

Post by Ken|x »

I want my navi bar to be aligned to the center of the page regardless of the resolution of the com that is used to view the page but where do i put this:

with(milonic=new menuname("mainmenu")){
screenposition="center"
top="offset=-200

i'm still using the old version coz I'm lazy to change it.
It is ok not to include the offset thingy?
I got that from the faq page.
does it work for the old version?
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

The nearest you will get at the moment is

Code: Select all

top=200;
alignment="center";
orientation="horizontal";

not sure if you're saying followscroll=1

screenposition has to be "center;top" or "center;middle"
top="offset=-200" is the position of a submenu as it opens from the main menu.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Do a search in the v3 forum for screen position and I am sure you will find your answer. Also looking at the versions page, you can find the previous versions of the menu and the menu_array file is pretty well commented as to explain where screen position would need to be placed.

Also, if you have any more questions regarding version3, please keep them to the v3 forum. Thanks. ;)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply