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)


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 inline code:
4 Script {
5 url [ "http://foo.com/myScript.js",
6 "javascript: function foo( ) { ... }" ]
7 }

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