HELP! * GREY=local LOCAL HTML version of Foils prepared 15 January 1997

Foil 15 Refinements in the <SCRIPT> Tag - II

From JavaScript Tutorial for CPS616 Technologies of the Information Age 1997 Basic Information Track of CPS -- Spring Semester 97. by Geoffrey C. Fox * Critical Information in IMAGE

This foilset assumes JavaScript 1.1 except in few cases such as Arrays where we also describe older 1.0 syntax.
<SCRIPT> .... </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("Included File JSLibrary.js not found"); // The Navigator executes this stuff ONLY if JSLibrary.js is NOT found and so do not include useful stuff here!
</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 Feb 19 1997