I like this menu and have embedded the main menu code in an js file to include in the top row of a table.
Now, when it was a free floating menu, it showed horizontally ok with submenus dropping down as expected, but when i included it into the table cell, it converted itself to a vertical menu. The table is a basic one row spanning three columns.
Does this have something to do with position="relative"; that is required to be inserted into the main menu structure? I've tried absolute and that just pokes the menu at the top left hand side of the table, still in a vertical position.
I can only use this menu system if i can get it to work in a table and my preferred layout for the menu is across the top, with submenus coming down and out.
thanks for any info on how to resolve...
vertical alignment of menu in a table cell
Hi,
Check the orientation= and make sure it's there. The default orientation is vertical, so if there is no code saying orientation="horizontal" it will be vertical. i.e.
Ruth
Check the orientation= and make sure it's there. The default orientation is vertical, so if there is no code saying orientation="horizontal" it will be vertical. i.e.
Code: Select all
with(milonic=new menuname("Main Menu")){
style=menuStyle;
position="relative";
alwaysvisible=1;
orientation="horizontal";