Menus width or align ?
Menus width or align ?
Is there anyway to upate menu width (example : menuwidth=100%) and submenus width ?
AND/OR
update align menu ? (like menualign=center)
AND/OR
update align menu ? (like menualign=center)
You're speaking about these pages ?
http://milonic.com/styleproperties.php
http://milonic.com/menuproperties.php
http://milonic.com/itemproperties.php
I didn't found any information to understand where integrate this fields into the milonic menu v5.
http://milonic.com/styleproperties.php
http://milonic.com/menuproperties.php
http://milonic.com/itemproperties.php
I didn't found any information to understand where integrate this fields into the milonic menu v5.
Yes, I was speaking of those files. The only advice that I think of to give you about how things work, is for you to download several examples and look at the code in the "menu_data.js" file and see how the variables are used. Also, make sure that you read all the "txt" files that come with the download.
When I started building menus, I took one of the examples and kept modifying it to meet my personal requirements. There is not sure and safe way to get from the beginning to the end.
Sorry that's the best advice I can give. Maybe some others have better advice for you.
When I started building menus, I took one of the examples and kept modifying it to meet my personal requirements. There is not sure and safe way to get from the beginning to the end.
Sorry that's the best advice I can give. Maybe some others have better advice for you.
'align=center' does not position the menu itself. From the Menu Properties Reference Guide...LToPiQ wrote:Yes, but. I successfully find "menualign="
But "align=center"
to put menu at the center of the page doesn't work here.
May I respectfully suggest you go through those 3 documents to get a better understanding of what they require.align can be declared in either the style, menu or menu item and is used to position the text inside menuitems
John
I'm sorry to disturb you for a probably stupid question, but i'm still not able to center my menu.
He're the begin of my menu_data file :
He're the begin of my menu_data file :
Code: Select all
_menuCloseDelay=250 // The time delay for menus to remain visible on mouse out, 250 default
_menuOpenDelay=0 // The time delay before menus open on mouse over
_followSpeed=500 // Follow scrolling speed
_followRate=500 // Follow scrolling Rate
_subOffsetTop=3 // Sub menu top offset
_subOffsetLeft=5 // Sub menu left offset
_scrollAmount=3 // Only needed for Netscape 4.x
_scrollDelay=20 // Only needed for Netcsape 4.x
with(menuStyle=new mm_style()){
valign="center";
align="left";
onbgcolor="#FFFFFF";
oncolor="#FFFFFF";
offbgcolor="#FFFFFF"; // Background cells color
offcolor="#FFFFFF"; // Font color
bordercolor="#FFFFFF";
borderstyle="solid";
borderwidth=1;
separatorcolor="#FFFFFF";
separatorsize="1";
padding=5;
fontsize="8pt";
fontstyle="normal";
fontfamily="Verdana, Tahoma, Arial";
pagecolor="black";
pagebgcolor="#FFFFFF"; // Background selected item
headercolor="#000000";
headerbgcolor="#ffffff";
subimage="http://www.test.com/images/arrow.gif";
subimagepadding="2";
overfilter="Fade(duration=0.1);Alpha(opacity=100);Shadow(color='#777777', Direction=135, Strength=3)";
outfilter="randomdissolve(duration=0.0)";
}
with(milonic=new menuname("Main Menu")){
menuwidth="100%";
menualign="center";
screenposition="center";
style=menuStyle;
top=5;
left=10;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.test.com/home.asp;status=Back To Home Page;");
aI("text=Home;url=http://www.test.com/home.asp;status=Back To Home Page;");
aI("text=Games;showmenu=Games;");
aI("text=Affiliate;showmenu=Affiliate;");
aI("text=Marketing;showmenu=Marketing;");
aI("text=Support;showmenu=Support;");
aI("text=Financial;showmenu=Financial;");
aI("text=Administration;showmenu=Administration;");
aI("text=Search cus.;url=http://www.test.com/customers/search.asp;status=Search a customer;");
}
Some of the code you have you do not need
Some of the menu code you do no (or should not) need and may be causing the problem...
with(milonic=new menuname("Main Menu")){
menuwidth="100%"; <--- Remove this
menualign="center"; <--- Remove this
screenposition="center";
style=menuStyle;
top=5; <---- Remove this
left=10; <---- Remove this
alwaysvisible=1;
orientation="horizontal";
Or you can just "comment" these out by placing double forward slashes // in front of these lines. Give this a try and see if it helps
Code: Select all
with(milonic=new menuname("Main Menu")){
menuwidth="100%";
menualign="center";
screenposition="center";
style=menuStyle;
top=5;
left=10;
alwaysvisible=1;
orientation="horizontal";
aI("text=Home;url=http://www.test.com/home.asp;status=Back To Home Page;");
aI("text=Home;url=http://www.test.com/home.asp;status=Back To Home Page;");
aI("text=Games;showmenu=Games;");
aI("text=Affiliate;showmenu=Affiliate;");
aI("text=Marketing;showmenu=Marketing;");
aI("text=Support;showmenu=Support;");
aI("text=Financial;showmenu=Financial;");
aI("text=Administration;showmenu=Administration;");
aI("text=Search cus.;url=http://www.test.com/customers/search.asp;status=Search a customer;");
}
menuwidth="100%"; <--- Remove this
menualign="center"; <--- Remove this
screenposition="center";
style=menuStyle;
top=5; <---- Remove this
left=10; <---- Remove this
alwaysvisible=1;
orientation="horizontal";
Or you can just "comment" these out by placing double forward slashes // in front of these lines. Give this a try and see if it helps

Rudy