Pinned down menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
aliantozeng
Beginner
Beginner
Posts: 1
Joined: Wed May 02, 2007 7:02 am

Pinned down menu

Post by aliantozeng »

Hi,

i am not sure if Milonic menu supports such feature, here is what I want to do.

I have a sitemap that looks like this:

TOP MENU 1
- Submenu 1.1
- Submenu 1.2
- Submenu 1.3
TOP MENU 2
- Submenu 2.1
TOP MENU 3
TOP MENU 4
- Submenu 4.1
- Submenu 4.2

I dont want to use the usual way of hover pop-up. What I want the menu to do is, on home page display:

TOP MENU 1
TOP MENU 2
TOP MENU 3
TOP MENU 4

Then, when TOP MENU 1 is clicked, it takes the user to TOP MENU 1 page, and the menu looks like this

TOP MENU 1
- Submenu 1.1
- Submenu 1.2
- Submenu 1.3
TOP MENU 2
TOP MENU 3
TOP MENU 4

And when user decided to click on TOP MENU 2, the menu on the new page should look something like:

TOP MENU 1
TOP MENU 2
- Submenu 2.1
TOP MENU 3
TOP MENU 4

Is this doable? Is there an example I can follow, any help will be much appreciated.

Thanks in advance
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

One way of doing this is to make individual _data files for each of your four pages; e.g., menu_data1.js, menu_data2.js, etc. Then call the appropriate _data file for each page as needed.

My guess is Ruth will probably have a more 'elegant' way of doing it. ;)
John
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

It can be done, and I'm working on an example to put up, hopefully tonight, if not tomorrow morning.

Ruth
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Try this example.

LINK REMOVED


Also, try this link to see a page that has this menu like this but only to open one submenu below an item. Click on Global Missions in the left menu, that is the collapse menu, not the horizontal one at the top.

http://www.upc.org/testmenu/missions.aspx?id=40

Ruth
Post Reply