colm
Jr. Member

Points: 1
Offline
Posts: 38
|
 |
« on: July 06, 2006, 15:55:59 » |
|
Hi I use these menus on my forum... Does anyone know where you efit their code to center these menus... There is an option to move x ammount of pixels from left & top but it doesn't seem to accept centre as an option.
|
|
|
|
|
Logged
|
www.boardsie.com
|
|
|
|
|
|
TheGodFather
|
 |
« Reply #1 on: July 07, 2006, 02:30:03 » |
|
Where do you use it ? In what page ? Tell me the page and I will look
Regards
|
|
|
|
|
Logged
|
|
|
|
colm
Jr. Member

Points: 1
Offline
Posts: 38
|
 |
« Reply #2 on: July 07, 2006, 17:51:41 » |
|
I use it on my vBulletin forums .. The menu files are in the root & the are called from the headinclude template. these are the options at the start of the data file:
_menuCloseDelay=200; _menuOpenDelay=10; _subOffsetTop=1; _subOffsetLeft=10;
with(menuStyle=new mm_style()){ bordercolor=""; borderstyle="solid"; borderwidth=0; fontfamily="Verdana, Tahoma, Arial"; fontsize="76%"; fontstyle="normal"; headerbgcolor=""; headercolor=""; offbgcolor=""; offcolor="#99CC33"; onbgcolor="BBD4DE"; oncolor="#000000"; outfilter="randomdissolve(duration=0.1)"; overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=100, Strength=1)"; padding=5; pagebgcolor=""; pagecolor="black"; separatorcolor=""; separatorsize=1; subimage=""; subimagepadding=2; }
with(milonic=new menuname("Main Menu")){ alwaysvisible=1; followscroll=1; left=25; orientation="horizontal"; style=menuStyle; top=1;
|
|
|
|
|
Logged
|
www.boardsie.com
|
|
|
|
TheGodFather
|
 |
« Reply #3 on: July 09, 2006, 06:37:07 » |
|
add after
subimage=""; subimagepadding=2;
the next line:
text-align: center;
Tell me if is working
Regards
|
|
|
|
|
Logged
|
|
|
|
colm
Jr. Member

Points: 1
Offline
Posts: 38
|
 |
« Reply #4 on: July 09, 2006, 09:33:13 » |
|
No luxk with that i'm afraid... The menus don't appear at all after that line is entered.
|
|
|
|
|
Logged
|
www.boardsie.com
|
|
|
|
TheGodFather
|
 |
« Reply #5 on: July 09, 2006, 10:59:40 » |
|
try text-align="center";
|
|
|
|
|
Logged
|
|
|
|
|
TheGodFather
|
 |
« Reply #6 on: July 09, 2006, 11:01:11 » |
|
To understand better tell me: you want all menu to be centred ?
Regards
|
|
|
|
|
Logged
|
|
|
|
colm
Jr. Member

Points: 1
Offline
Posts: 38
|
 |
« Reply #7 on: July 09, 2006, 17:17:32 » |
|
Still not working...sorry..
Yes I want it all centered..Its a horizontal menu across the top of the screen.
Thanks
|
|
|
|
|
Logged
|
www.boardsie.com
|
|
|
|
TheGodFather
|
 |
« Reply #8 on: July 09, 2006, 23:42:33 » |
|
Ok ! Remove text-align directive and try :
menualign="center"; in MainMenu Entry ( after top = 1 )
or if is not working
screenposition="center"; in the same place.
Regards
|
|
|
|
|
Logged
|
|
|
|
colm
Jr. Member

Points: 1
Offline
Posts: 38
|
 |
« Reply #9 on: July 17, 2006, 11:33:29 » |
|
Still won't center...Anyway not to worry I have it near enough on most.... But!!! I have another puzzle... This is the start of the current code:
fixMozillaZIndex=false; //Fixes Z-Index problem with Mozilla browsers but causes odd scrolling problem,
toggle to see if it helps _menuCloseDelay=200; _menuOpenDelay=10; _subOffsetTop=1; _subOffsetLeft=10;
with(menuStyle=new mm_style()){ bordercolor=""; borderstyle="solid"; borderwidth=0; fontfamily="Verdana, Tahoma, Arial"; fontsize="76%"; fontstyle="normal"; headerbgcolor=""; headercolor="ffffff"; offbgcolor="333366"; offcolor="#ffffff"; onbgcolor="d3e4f0"; oncolor="#000000"; outfilter="randomdissolve(duration=0.1)"; overfilter="Fade(duration=0.2);Alpha(opacity=100);Shadow(color=#777777', Direction=100, Strength=1)"; padding=5; pagebgcolor=""; pagecolor="black"; separatorcolor=""; separatorsize=1; subimage=""; subimagepadding=2; }
Everything works fine in IE but in FF the backround does not show. I have tried setting this line... to = true or false fixMozillaZIndex=false;
But no joy Any Ideas would be appriciated..
|
|
|
|
|
Logged
|
www.boardsie.com
|
|
|
|