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:33

Trying to get stacked horizontal submenus


Poster: dguillory
Dated: Thursday April 8 2004 - 22:53:32 BST

I'm in the middle of developing a site with horizontal main and submenus. The basic scheme after rolling over a main menu item is:

Main1 Main2 Main3 Main4
Sub1 Sub2 Sub3 Sub 4

Some of the main menu items will have more sub items than can fit on a single row, and I'm not a big fan of scrolling submenus. I'm trying to get those long submenu lists to stack, like this:

Main1 Main2 Main3 Main4
Sub1 Sub2 Sub3 Sub4 Sub5 Sub6
Sub7 Sub8 Sub9

If anyone has any suggestions on the best way to handle this, I'm all ears. I tried just playing with the variables of the submenu, but couldn't get anything to work that way. I'd be fine with creating a distinct submenu for each row, but I can't figure out how to show two submenus at once. I've tried playing with the menuDisplay function, but no luck yet.

While I'm on the subject, there's another piece of functionality that I'm looking to use in this menu. Namely, I want to make the submenu of the section you are currently in to be persistent. I'm using pagematch to highlight the main menu item for the section I'm in, and the sub menu item for the page I'm currently on, and that's working fine. What I'm looking for is to have the sub menu for the section I'm in be visible from the time the page loads, and stay visible unless I'm currently mousing over a different main menu item.

Any thoughts on either topic is greatly appreciated.


Poster: Ruth
Dated: Thursday April 8 2004 - 23:52:04 BST

In your global style definded for the submenu you would add
Code:
keepalive=1;
So any submenus that used whichever style to which you add that would remain open until you moved over another menu. Sorry, I can't help with the other. I don't think it's possible, I believe what happens if the menu is too long is that each separate item wraps, whereas you want it to shift down at say pixel 560 and put everything after that on the next 'line'. I know some have asked for that feature and a couple of others but don't know if it is one of those on the list.

Ruth