Basic HTML version of Foils prepared 23 June 1997

Foil 15 <SCRIPT> Tag Attributes - II

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo


This foilset assumes JavaScript 1.1 except in few cases such as arrays where we also describe older 1.0 syntax.
<NOSCRIPT> É </NOSCRIPT> specifies what to do if user has disabled JavaScript in Options menu (due to security perhaps!)
One can read JavaScript from a file:
<SCRIPT SRC="JSLibrary.js">
document.write("JSLibrary.js not found!"); // The body of <SCRIPT> is executed ONLY
// if JSLibrary.js is NOT found!
</SCRIPT>
The included file must have .js suffix and server must be set up with correct MIME types to download .js files



Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998