Stackable Menu?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
mikevanoo
Beginner
Beginner
Posts: 1
Joined: Mon Mar 15, 2004 5:13 pm

Stackable Menu?

Post by mikevanoo »

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.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Not at this time, but others have asked, and I believe it's on the list.
John
User avatar
cubefree
Super Advanced
Super Advanced
Posts: 82
Joined: Fri Aug 01, 2003 3:16 am
Location: Seattle, WA
Contact:

Post by cubefree »

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

http://r2r.providence.org/proginfo/valu ... count.aspx

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

Code: Select all

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...
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

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
jeallen
Advanced
Advanced
Posts: 16
Joined: Sat Sep 27, 2003 9:23 pm
Location: Huntsville, AL USA
Contact:

I would like to display the conditional subpage menus - help

Post by jeallen »

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
Post Reply