Basic HTML version of Foils prepared March 18 1998

Foil 10 Script Node with ECMAScript - I

From Scripting and EAI in VRML97 CPS616 -- Information Track of CPS -- Spring Semester 98. by Hasan Ozdemir (Geoffrey C. Fox)


The javascript: protocol allows the script to be placed inline as follows:
Script { url "javascript: function foo( ) { ... }" }
The url field may contain multiple URL's and thus reference a remote file or inline code:
Script {
url [ "http://foo.com/myScript.js",
"javascript: function foo( ) { ... }" ]
}



© 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 Nov 29 1998