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

Foil 17 Refinements in the <SCRIPT> Tag - I

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 167
One can specify the different versions of the Language
  • e.g.:
  • <SCRIPT LANGUAGE="JavaScript1.1"> Ignored by Netscape Navigator 2.0
  • location.replace("versionofpagefornav3.0.html");
  • </SCRIPT>
  • <SCRIPT LANGUAGE="JavaScript1.0" > Read by Netscape Navigator 2.0
  • ..........
location.replace(URL) replaces current page with new URL which in this case is assumed to hold a version with nifty new JavaScript 1.1 features


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