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: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:24

Horizontal Expand Up

Poster: cshontz
Dated: Sunday July 20 2003 - 14:21:43 BST

How can I get a horizontal menu to expand upwards instead of downwards without relying on the end-of-page collision detection using version 5?

Is there a property for this?

The page I am designing is limited to a 760x460 area, and for some reason, I decided to anchor the menu to the bottom of this box without looking into the feasibility of menus that expand up.

The client's page may exceed 460h, resulting in empty page space between the 460h position and the end-of-page.

I suppose I could redirect the client to a custom browser window set to the dimensions of this area. In which case, the menu position would then be able to expand upward because it would be at the bottom of the page, but I don't really want to do this. I don't like when websites redirect me to smaller windows.

Any suggestions would be greatly appreciated! :)

Poster: cshontz
Dated: Monday July 21 2003 - 1:48:34 BST

Okay, in the above post, I just assumed that when the expanded menus collide with the bottom of the page, they expand up instead. This does not appear to be the case - at least its not a default property.

Could this somehow be changed using the "overflow" property?

I've found a way to fudge the "expand up" problem, quite simply by typing a fixed pixel value into the "top" property. For instance:

"top = 341;"

When I do this, the menu expands pretty much where I want it to, but it is a fixed value that is not relative to the submenu content. If I want to add another menu item, I need to recalculate that value.

Font size might have an impact on this too, but I'm not sure.

Any help would be greatly appreciated. I hope there is a really easy solution to this problem. :)