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

Stackable Menu?


Poster: mikevanoo
Dated: Monday March 15 2004 - 16:24:17 GMT

I've been looking at the Milonic menus and like them a lot. I was going to start using them until I saw the designs for the site I've got to create and I'm not sure the menus will be able to do it. The menus are structured like this:

They are vertical, stack each item on top of each other and show/hide the submenu items when you click on the top level menu item (but not doing a popup). For example, the main menu items would be:

Menu One
Menu Two
Menu Three

and when you click on one of these it would display its sub menu:

Menu One
Menu Two
Sub Menu One
Sub Menu Two
Sub Menu Three
Menu Three

so that the menu kind of expands and shrinks vertically depending on how may items you have open. Obviously, clicking Menu Two in this example would shrink the sub menu up again.

Can anyone tell me if this is possible in the Milonic menus?

Thanks in advance,

Mike.


Poster: John
Dated: Monday March 15 2004 - 21:03:24 GMT

Not at this time, but others have asked, and I believe it's on the list.


Poster: cubefree
Dated: Wednesday March 31 2004 - 21:55:46 BST

You can do it. I did it for Providence Retirement. E.g.,

http://r2r.providence.org/proginfo/valueplan/contrib/your_account.aspx

You must use javascript with in your milonic menu definitions, e.g.

Code:
if (url.indexOf('/sub_two_folder') != -1) {
// so here you are testing for the existence that this menu sub two folder is open in the address bar
// add your menu sub two here
// you must define your style for each aI() item as well though *
}


* However if your menu regards mostly images and sub menu is text, you can define the menu style with your text in mind (mostly) and your images will remain as they are... just images.

-cubing...


Poster: Maz
Dated: Thursday April 1 2004 - 0:40:32 BST

I see, it provides a different menu on a different page. I suppose it could be taken a bit further and have a submenu overlap a menu.

I can't think that far ahead today.

maz

I would like to display the conditional subpage menus - help


Poster: jeallen
Dated: Saturday June 5 2004 - 1:48:30 BST

Cubing,

I have both a horzonal and vertical menu working on a test page using the examples on the MILOIC pages. but I would like to display the subpage vertical menus conditionally as you have done.

However my skills don't run to the coding end -- could you provide some specific examples of how this code lays out and which files?

cut-and-paster
John