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:31
Dual, page specific menus
Poster: jeallen
Dated: Wednesday April 28 2004 - 14:41:04 BST
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
Poster: John
Dated: Wednesday April 28 2004 - 15:04:55 BST
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?).