Two menus on one page? :?:

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
caberz
Beginner
Beginner
Posts: 1
Joined: Mon Mar 14, 2005 1:54 pm

Two menus on one page? :?:

Post by caberz »

How can I put two menus on the same page? I've really been having some trouble with this. is there any possible way to do it? I want to have them in different tables.

I'm interested in any advise i can get. Thanks.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

See http://tiggrsuccess.com/ (and lots of other sites from folks here).

You'll see a vertical and a horizontal. I set up two different menu files, top_array.js and side_array.js - very original, I thought! Make sure you keep the style names and menu names different in the two files (e.g., they both cannot contain 'MainMenu' by name). Set up the calls as instructed in the table menu demo on the main site.
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Another possibility:

John's approach works well, especially if you don't always have both menus available on every page, or if you prefer the logic of having one .js file for each logical menu structure. But if you're planning to have both menus available on every page, you could put all of the code for both menus into the same menu_data.js file. Only one file to load that way.

Just another approach.

Cheers,

Kevin
Post Reply