By top and left I DO NOT mean width. I mean the position/coordinates of where the menu displays itself. Here is a copy of a menu definition for Milonic DHTML menu version 3 with comments to tell you where what does what.
Code: Select all
addmenu(menu=[ // This is the array that contains your menu
"mainmenu", // Menu Name - This is name of your menu
20, // Menu Top - The Top position in pixels
200, // Menu Left - The Left position in pixels
, // Menu Width - Menus width in pixels
1, // Menu Border Width
, // Screen Position - "center;left;right;middle;top;bottom"
style1, // Properties Array - this is set higher up, as above
1, // Always Visible - visible at all time (1=on/0=off)
"left", // Alignment - text alignment, left, right or center
, // Filter - Text variable for setting transitional effects
, // Follow Scrolling - follow the user down the screen (1=on/0=off)
1, // Horizontal Menu - Tells the menu to become horizontal(1=on/0=off)
, // Keep Alive -
, // Position of TOP sub image left:center:right
, // Set the Overall Width of Horizontal Menu to 100%
, // Right To Left - . (1=on/0=off)
, // Open the Menus OnClick - leave blank for OnMouseover (1=on/0=off)
, // ID of the div you want to hide on MouseOver (useful for hiding form elements)
, // Background image for menu when BGColor set to transparent.
, // Scrollable Menu
, // Reserved for future use
,"Home","http://www.dynamicdrive.com",,"Back to the home page",1 // "Description Text", "URL", "Alternate URL", "Status", "Separator Bar"
,"News sites ","show-menu=news",,"",1
,"Webmaster ","show-menu=webmaster",,"",1
,"Downloads ","show-menu=downloads",,"",1
,"Search ","show-menu=search",,"",1
,"Other ","show-menu=other",,"",1
])
Meun Top, Menu Left and Menu Width near the top are the three variables you need. On your menu, just count in however many commas they are and set the values there. Any more questions, let us know!