Artifaxx616
06 May 2010, 05:39 PM
I found this on a site I'm trying to emulate and was wondering what the following code means/does:
<td width="393" height="19" align="left" valign="top"><script>
with (milonic = new menuname("Main Menu")) {
style = menuStyle;
separatorsize = 0;
separatorcolor = "#FFFFFF";
alwaysvisible = 1;
orientation = "horizontal";
aI("image=images2/mainpage2/nav/1pre.gif;url=#;");
aI("showmenu=ourwork;image=images2/mainpage2/nav/btn_ourwork.gif;overimage=images2/mainpage2/nav/btn_ourwork_f2.gif;url=#;");
aI("showmenu=ourcompany;image=images2/mainpage2/nav/btn_ourcompany.gif;overimage=images2/mainpage2/nav/btn_ourcompany_f2.gif;url=#;");
aI("image=images2/mainpage2/nav/btn_awards.gif;overimage=images2/mainpage2/nav/btn_awards_f2.gif;url=awards.aspx;");
aI("image=images2/mainpage2/nav/btn_contact.gif;overimage=images2/mainpage2/nav/btn_contact_f2.gif;url=contact.aspx;");
}
drawMenus();
</script></td>
<td width="393" height="19" align="left" valign="top"><script>
with (milonic = new menuname("Main Menu")) {
style = menuStyle;
separatorsize = 0;
separatorcolor = "#FFFFFF";
alwaysvisible = 1;
orientation = "horizontal";
aI("image=images2/mainpage2/nav/1pre.gif;url=#;");
aI("showmenu=ourwork;image=images2/mainpage2/nav/btn_ourwork.gif;overimage=images2/mainpage2/nav/btn_ourwork_f2.gif;url=#;");
aI("showmenu=ourcompany;image=images2/mainpage2/nav/btn_ourcompany.gif;overimage=images2/mainpage2/nav/btn_ourcompany_f2.gif;url=#;");
aI("image=images2/mainpage2/nav/btn_awards.gif;overimage=images2/mainpage2/nav/btn_awards_f2.gif;url=awards.aspx;");
aI("image=images2/mainpage2/nav/btn_contact.gif;overimage=images2/mainpage2/nav/btn_contact_f2.gif;url=contact.aspx;");
}
drawMenus();
</script></td>