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: Saturday July 14 2012 - 06:07:35

Is this possible


Poster: StrokerAce
Dated: Friday January 17 2003 - 19:34:17 GMT

Is it possible to have a dhtml menu go from bottom to top intead of top to bottom.

Current Menu Action
MenuItem
|
|
|
|
v

Desired Action
^
|
|
|
|
|
|
MenuItem


Poster: kevin3442
Dated: Tuesday January 21 2003 - 8:13:29 GMT

Yes, it is possible.

Assuming you have a horizontal main menu, if you set the main menu array's 6th element (Screen Position) to "bottom", then the main menu will appear at the bottom of the window and submenus will open upward (you should probably also make the array's 2nd element -- Menu Top -- blank, even though setting Screen Position to "bottom" will override it). If your page is taller than the window will accomodate, you may wish to set the 11th element of the array (Follow Scrolling) to 1, to keep the menu visible at the bottom of the page as the user scrolls up or down.

If you don't want the menu at the bottom, you can position it where you like, then force the its submenus to appear above the main menu by specifying an offset value in the 2nd element (Menu Top) of each submenu's array. For example, if I had a submenu called "news" I could define an offset to move it up, like so:
Code:
addmenu(menu=["news","offset=-150",,95,1,,style1,0,,effect1,0,0,0,,,0,0,,,0,,
  ...
  menu item definitions go here
  ...
])

Notice that the 2nd element of the array contains "offset=-150". This would move the resulting menu up by 150 pixels (adjust as needed for each of your submenu).

Hope that helps,

Kevin

P.S. Better to post questions in the "Help & Assistance" forum... you'll probably get a faster response. ;)