Is it possible to nest menus?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Terry Ally
Beginner
Beginner
Posts: 7
Joined: Sun Sep 14, 2003 6:29 pm

Is it possible to nest menus?

Post by Terry Ally »

I am not talking sub-menu ... what i would like to do is to insert a menu inside a menu as follows:


Menu 1 Item 1
Menu 1 Item 2
Menu 1 Item 3
Inserted Menu Item a
Inserted Menu Item b
Inserted Menu Item c
Menu 1 Item 4
Menu 1 Item 5
Menu 1 etc

Why do I want to do this?

To the best of my knowledge, Milonic Menu does not do collapsible menu. Rather it does sub-menus but the effect that I need on this particular page I am building is for a collapsible menu.

Having been trying various JS inserts and JS src but unsuccessfully.

Does anyone know how to achieve this?

Terry
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

This might drive you nuts positioning it, but I can think of a way to get around doing this.

Separate your menu items, instead of main menu, make them main menu 1, 2, etc. absolute position each one horizontal, then position each submenu to open underneath each other, leaving a gap for where they will open. a)top="offset=100px"; b)top="offset="125px"; c)top="offset="150px"; for example.

Does that make sense? Its a bit of a gamble as to whether you'll get it all lined up nicely.

I'd like to see it if you do it ;)

Nice little puzzle for first thing in the morning, do I get a hot cross bun? :D
maz
Last edited by Maz on Fri Apr 09, 2004 6:26 pm, edited 1 time in total.
Terry Ally
Beginner
Beginner
Posts: 7
Joined: Sun Sep 14, 2003 6:29 pm

Post by Terry Ally »

Thanks Maz,

That is actually a nice work around that could work. I will give it a try. It is far better than I work around I am testing now.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

FWIW, a collapsible menu is on the to-do list, but there's no ETA at this time.
John
Post Reply