Dual, page specific menus

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jeallen
Advanced
Advanced
Posts: 16
Joined: Sat Sep 27, 2003 9:23 pm
Location: Huntsville, AL USA
Contact:

Dual, page specific menus

Post by jeallen »

I would like to have a standard (lets call this level 1) menu at the top of my screens, (with the pulldowns).

Then on the side, I would like to have a menu specific to the sub-section they are in (lets call this level 2) appear.

So if they go to a page in the 'about us' (level 1) section the top menu highlights 'about us' and the side menu that appears has the 'about us' header and all the level 2 menus for that sub-section.

Is there a way to do this???
http://www.fcc-hsv.org
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

This could probably be done dynamically depending on what you've used to write your page.

Another way, since you need to call the menus for every page anyway, is just to write the other menu sections you need as separate files; e.g., on the home page, call your main menu as usual as menu_data.js, and the section menu for that page (if needed) as menu_data1.js. The about page would be menu_data.js (standard main menu), and the section menu_data2.js (specific for that section), etc.

As an example (not changing per section, but 2 menus on a page), see http://tiggrsuccess.com/ - a top menu and a side menu. I chose to call my top (main) menu file top_array.js, and the side vertical menu side_array.js (brilliant, eh?).
John
Post Reply