HELP! * YELLOW=global GREY=local Global HTML version of Foils prepared 21 February 97

Foil 18 Refinements in the <SCRIPT> Tag - II

From Feb 12 Delivered Lecture for Course CPS616 -- Basic JavaScript Functionalities and Examples CPS616 spring 1997 -- Feb 12 1997. by Geoffrey Fox * Critical Information in IMAGE
Secs 100.8
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("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 Fri Feb 21 1997