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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:42

Sub-menu alignment


Poster: matt __at__ mysecretbase.com
Dated: Saturday April 20 2002 - 20:14:06 BST

Am I missing something? I cannot find a way to align my sub-menu so that the right side lines up with the right side of the top menu.

Please look at the SEARCH

Re: Sub-menu alignment


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:51:39 BST

Ah yes, right alignment. Well, by default it lines up the sub menu by the left side as I'm sure you figured out. You can change this by setting parameter 16 (right to left, just above the onclick parameter) in the menu array to 1. This makes it align to the right (set it in the sub menu that drops down). If you leave your text alignment left as is then I think this is what you are after.
Cheers!
Yadin

Re: Sub-menu alignment


Poster: landolt __at__ strichpunkt.ch
Dated: Tuesday February 26 2002 - 13:27:09 GMT

Can't find the onclick parameter? Where is the 16th parameter? Is there any documentation anywhere that explains the parameters?

Thanks,
Tom

Re: Sub-menu alignment


Poster: Anonymous
Dated: Sunday May 19 2002 - 19:51:41 BST

In your menu array file, the first menu entry should look like this:
-----------------------------------------------------
addmenu(menu=[ // This is the array that contains your menu properties and details
"mainmenu", // Menu Name - This is needed in order for the menu to be called
10, // Menu Top - The Top position of the menu in pixels
, // Menu Left - The Left position of the menu in pixels
, // Menu Width - Menus width in pixels
1, // Menu Border Width
"center", // Screen Position - here you can use "center;left;right;middle;top;bottom" or a combination of "center:middle"
style1, // Properties Array - this is set higher up, as above
1, // Always Visible - allows the menu item to be visible at all time
"center", // Alignment - sets the menu elements text alignment, values valid here are: left, right or center
, // Filter - Text variable for setting transitional effects on menu activation - see above for more info
, // Follow Scrolling - Tells the menu item to follow the user down the screen (visible at all times)
1, // Horizontal Menu - Tells the menu to become horizontal instead of top to bottom style
, // Keep Alive - Keeps the menu visible until the user moves over another menu or clicks elsewhere on the page
"right", // Position of TOP sub image left:center:right
, // Type of menu use "form" or blank
, // Right To Left - Used in Hebrew for example.
, // Open the Menus OnClick - leave blank for OnMouseover
, // Menu Header Text (only works on Vertical menus)
, // Reserved for future use
, // Reserved for future use
, // Reserved for future use
,"Home","/menu/",,,0 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"Samples","show-menu=samples",,"",0
,"Menu