Is this possible

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
StrokerAce
Beginner
Beginner
Posts: 1
Joined: Fri Jan 17, 2003 8:28 pm
Location: Texass

Is this possible

Post by StrokerAce »

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
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

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: Select all

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. ;)
Post Reply