Discussion:
including javascript
(too old to reply)
Berry B
21 years ago
Permalink
Hi!
I'm extremely new to JavaScript programming, so bear with me pleace.
I'm having trouble including a script into a page from an external .js file.
I've put the following in the head;

<script language="JavaScript" src="menu.js"></script>

And in the body i've put the following:

<BODY bgcolor="#000000" marginwirgin: 0" onLoad="printMenu()"
onResize=dth="0" marginheight="0" style="ma"if (isNS4) nsResizeHandler()">

The problem is that the function printMenu doesn't run, I just keep getting
runtime errors in IE, and the menu buttons will not show. Any suggestions?

Tnx!
mejustme
21 years ago
Permalink
...
posting the script? (or mailing it if you don't want everyone to see it...)



(also, i hope that you lost some parts copying the body to this window,
cause it's a little weird: the wi in width is gone, the onresize is empty,
the style is incomplete and something appears on the end. also,
marginwirgin should become a word...)


Filip

Continue reading on narkive:
Loading...