I am trying to combine the Amazon style menu with a table based menu.
I am not have complete success.
The first menu item, Milonic in this case, open on click, but the background image doesn't change, and as soon as you mouse over another top menu item, it closes.
Can the Amazon Style be used in a talbe?
Here is a test link: http://www.bloodbanktalk.com/ctr/index.htm
I took this out of menu_data.js:
Code: Select all
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
menuwidth=400;
openstyle="tab";
orientation="horizontal";
screenposition="center";
style=menuStyle;
aI("align=center;keepalive=1;showmenu=Milonic;text=MILONIC;");
aI("align=center;keepalive=1;showmenu=Partners;text=PARTNERS;");
aI("align=center;keepalive=1;showmenu=Links;text=LINKS;");
aI("align=center;keepalive=1;showmenu=MyMilonic;text=MYMILONIC;");
aI("align=center;itemwidth=80;keepalive=1;text=SEARCH;");
}
Code: Select all
<table width="100%" cellspacing="0">
<tr>
<td width="98">
<script type="text/javascript">
with(milonic=new menuname("Main Menu")){
alwaysvisible=1;
menuwidth=400;
openstyle="tab";
orientation="horizontal";
screenposition="center";
style=menuStyle;
aI("align=center;keepalive=1;showmenu=Milonic;text=MILONIC;");
aI("align=center;keepalive=1;showmenu=Partners;text=PARTNERS;");
aI("align=center;keepalive=1;showmenu=Links;text=LINKS;");
aI("align=center;keepalive=1;showmenu=MyMilonic;text=MYMILONIC;");
aI("align=center;itemwidth=80;keepalive=1;text=SEARCH;");
}
drawMenus();
</script>
</td>
</tr>
</table>