Please see link below:
http://www.advancedsupplychain.com/frontpage.htm
Upon viewing this, the menu sits nicely at the top of the page, but however if you were to double click the IE bar (to initiate a resize) or manually drag the window smaller or bigger the menu system doesnt sit where it should.
However if you refresh the page or hover themouse over one of the menu items its goes and sits back in place.
The menu is sitting inside a table and I cannot understand why this isnt working.
Any help would be appreciated.
Below is a snippet of the code i am using in the HTML page:
Code: Select all
<!-- ***** This is the section of code you need to paste into your web pages ***** -->
<script type="text/javascript" src="milonic_src.js"></script>
<script type="text/javascript" src="mmenudom.js"></script>
<!-- The next file contains your menu data, links and menu structure etc -->
<script type="text/javascript" src="menu_data.js"></script>
<!-- **** JavaScript Menu HTML Code -->
<table border=0 width=100%>
<tr>
<td class=menu1> <script>
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
overfilter="";
position="relative";
aI("text=Home;url=http://milonic.com/;status=Back To Home Page;");
aI("text=Menu Samples;showmenu=Samples;");
aI("text=Milonic;showmenu=Milonic;");
aI("text=Partners;showmenu=Partners;");
aI("text=Links;showmenu=Links;");
aI("text=My Milonic;showmenu=My Milonic;");
}
drawMenus();
</script>
</td>
</tr>
</table>