adding javascript menu

  • Thread starter Thread starter trint
  • Start date Start date
T

trint

How can I add javascript to my code view of my default.aspx file and
get my meny to show?
Here is the code I want to display (it's obviously a menu):

<!-- menu script itself. you should not modify this file -->
<script language="JavaScript" src="menu.js"></script>
<!-- items structure. menu hierarchy and links are stored there -->
<script language="JavaScript" src="menu_items.js"></script>
<!-- files with geometry and styles structures -->
<script language="JavaScript" src="menu_tpl.js"></script>
<script language="JavaScript">
<!--//


new menu (MENU_ITEMS, MENU_POS);
//-->
</script>


Thanks,
Trint
 
All you really need to do is just put it between the Body tags, exactly
where you want it to show. Before, with many pages in my site, I just
created an include file (yes, include), since there's nothing really dynamic
about it, put all the Javascript code in the include, then place the include
file between the body tags, exactly where you want it to show.
 
David,
I did as you said, and it still isn't showing after I do a build and
view in browser.
Thanks,
Trint
 
Back
Top