[JavaScript]

<SCRIPT SRC="xxx.js">

The SCRIPT tag can have an SRC attribute which specifies the location of JavaScript source code, rather than including the JavaScript in-line within the HTML page.

The following red bracketed text:[ ], if any, was generated by JavaScript from a <SCRIPT SRC=SRC.js> tag.

Try

  1. [View] source
  2. resizing (?bug in N 3.0, ok N 4.0) and
  3. [Reload]-ing the window

[HTML source] and [JavaScript SRC.js source]


Copyright © L.Allison Department of Computer Science, Monash University, Australia 3168 / 1997