DHTML MENU Position
-
- Beginner
- Posts: 5
- Joined: Thu Mar 31, 2005 7:43 am
- Location: Washington DC
- Contact:
DHTML MENU Position
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?
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
Taken from:
http://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.
http://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.
Andy Davis
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
-
- Beginner
- Posts: 5
- Joined: Thu Mar 31, 2005 7:43 am
- Location: Washington DC
- Contact:
sceen position
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;
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
center=10;
orientation="vertical";
screenposition="left" offeset; <-------------------------here?
"offset=" <----------------------------------------------or here?
style=menuStyle;
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
I have one menu set up as follows. Just alter the "167" value to suit.
Code: Select all
with(milonic=new menuname("Main Menu")){
style=mainStyle;
screenposition = "center";
top = 167;
alwaysvisible=1;
followscroll=0;
orientation="horizontal";
overfilter="";
Andy Davis
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
Web Designer & Smartboard Manager
Fred Longworth High School, Manchester, England.
-
- Beginner
- Posts: 5
- Joined: Thu Mar 31, 2005 7:43 am
- Location: Washington DC
- Contact:
thanks
thanks so much....