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:24
Menu in a table
Poster: Agent_9000
Dated: Monday June 14 2004 - 23:26:20 BST
How do you get the menu to work in a table? It won't work for me.
Poster: Maz
Dated: Tuesday June 15 2004 - 0:26:11 BST
Most often there really is no need to place it in a table, since it will sit on top of the design and saves a lot of time of placing it in something and only one file to change.
A url would help to see what you are working with.
If the table sits in a div that won't work.
A simple test in a table is to move the javascript for menu_data.js into the table and see what happens.
Then if you want to do it the suggested way, you leave menu_data.js under the other scripts just under the <body> tag.
Cut and paste the main menu from menu_data.js into the table.
Add a
drawmenus();
(You are leaving the global styles and sub menus in the menu_data.js file.)
and it should work.
maz
Poster: kevin3442
Dated: Tuesday June 15 2004 - 0:50:48 BST
Hi,
I'll just add that sample9 discusses placing a menu in a table. You'll find lots of info about it there.
Cheers,
Kevin