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:05
menu in a simple table doesn't align properly
Poster: BW
Dated: Thursday October 9 2003 - 16:59:19 BST
Howdy
I am nesting a menu inside a very simple table. The menu displays and functions properly except for one thing. When the submenu pops up, it is 25 or so pixels below the main menu. However the menu_data file has the offsets at their default settings 3?, 5?, whatever it is....
BTW, if I add another row to the bottom of the table and place the menu script in that cell/row, the offsets place the subdirectory at the correct distance below the main menu. There must be a pattern here that would point to the culprit, but I can't figure it out.
Anybody got any ideas about tables throwing off the offsets? How did you rectify the problem?
Here is a link to a stripped version of the page to focus on the problem...
http://www.biomodus.com/category_dir_fu ... index.html
Head script begins on line 9
Body script on line 140
Thanks,
BW
Poster: John
Dated: Thursday October 9 2003 - 18:17:41 BST
Here are a few things to try...
1. Update to RC15 (latest version). You're running RC12.
2. Move all the JS menu calls to the first items in the <body>.
3. Move all the menu script in the <td> back to menu_data.js.
4. Move the menu_data.js call to the <td> that contained the script.