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

How to align?


Poster: Ken|x
Dated: Saturday August 23 2003 - 6:40:37 BST

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?


Poster: Maz
Dated: Saturday August 23 2003 - 7:36:00 BST

The nearest you will get at the moment is
Code:
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.


Poster: Hergio
Dated: Saturday August 23 2003 - 16:32:22 BST

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. ;)