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:49
DHTML MENU Position
Poster: steverpayne
Dated: Thursday March 31 2005 - 7:48:41 BST
I am trying to position the menu in the middle or center in my navagation. Can someone tell me how this is done? i want it to be vertical but not covering up my logo?
Poster: fredlongworthhighschool
Dated: Thursday March 31 2005 - 10:51:47 BST
Taken from:
http://www.milonic.com/menuproperties.php
"screenposition"
screenposition is useful for websites that are centered in orientation. By declaring "center" for screenposition, this will ensure that the menu will remain centered at all times. Other options for screen position are top, left, right, middle or bottom, plus a combination of 2 valid properties separated by a semi colon. Offsets can be declared for both top and left. The syntax for offsets is "offset=-100"; this will move the menu 100 pixels back from either top or left depending on the screenposition you have used.
sceen position
Poster: steverpayne
Dated: Friday April 1 2005 - 2:18:24 BST
i have that right now i want it to be below the logo you can see it at http://www.rcym.org. do i put the offset in where the screeposition goes?
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
center=10;
orientation="vertical";
screenposition="left" offeset; <-------------------------here?
"offset=" <----------------------------------------------or here?
style=menuStyle;
Poster: fredlongworthhighschool
Dated: Friday April 1 2005 - 15:29:19 BST
I have one menu set up as follows. Just alter the "167" value to suit.
Code:
with(milonic=new menuname("Main Menu")){
style=mainStyle;
screenposition = "center";
top = 167;
alwaysvisible=1;
followscroll=0;
orientation="horizontal";
overfilter="";
style=mainStyle;
screenposition = "center";
top = 167;
alwaysvisible=1;
followscroll=0;
orientation="horizontal";
overfilter="";