Basic HTML version of Foils prepared 5 August 97

Foil 3 JavaScript Script Node - II

From VRML97 Scripting: JavaScript Nodes UC Web Applications Certificate -- July 24 1997. by Wojtek Furmanski and Hasan Ozdemir


1 The javascript: protocol allows the script to be placed inline as follows:
2 Script { url "javascript: function foo( ) { ... }" }
3 The url field may contain multiple URL's and thus reference a remote file or in-line code:
4 Script {
5 url [ "http://foo.com/myScript.js",
6 "javascript: function foo( ) { ... }" ] }
7 The file extension and MIME type for JavaScript source code is .js and application/x-javascript.

in Table To:


© 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 Sun Apr 5 1998