Board Logo

multiple menu problem
picinfo - 7/5/2003 at 05:48 PM

<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpl.js"></script>
<script language="JavaScript" src="menu_items1.js"></script>
<script language="JavaScript" src="menu_tpl1.js"></script>
<script language="JavaScript">
<!--//
new menu (MENU_ITEMS, MENU_POS, MENU_STYLES);
//-->
</script>

<!--//
new menu (MENU_ITEMS1, MENU_POS1, MENU_STYLES1);
//-->
</script>

what have i left out.......
Please help!!!

From a newbie menu maker


nik - 7/7/2003 at 07:12 AM

You've just missed one tag <script language="JavaScript">. Your code should look like:
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_items.js"></script>
<script language="JavaScript" src="menu_tpl.js"></script>
<script language="JavaScript" src="menu_items1.js"></script>
<script language="JavaScript" src="menu_tpl1.js"></script>
<script language="JavaScript">
<!--//
new menu (MENU_ITEMS, MENU_POS, MENU_STYLES);
//-->
</script>

<script language="JavaScript">
<!--//
new menu (MENU_ITEMS1, MENU_POS1, MENU_STYLES1);
//-->
</script>


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/