Sub-menu alignment

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
landolt@strichpunkt.ch
Beginner
Beginner
Posts: 8
Joined: Sun May 19, 2002 7:24 pm

Re: Sub-menu alignment

Post by landolt@strichpunkt.ch »

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

Thanks,
Tom
matt@mysecretbase.com
Beginner
Beginner
Posts: 8
Joined: Sun May 19, 2002 7:23 pm

Sub-menu alignment

Post by matt@mysecretbase.com »

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
Guest

Re: Sub-menu alignment

Post by Guest »

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
Guest

Re: Sub-menu alignment

Post by Guest »

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
Post Reply