Basic HTML version of Foils prepared March 18 1998

Foil 34 Radio Buttons to control Background - ECMAScript Example - III

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


In the next example we use Radio buttons to switch the Background node of the scene from one representation to another. In the example, we put the Script node definition into a PROTO definition so that we do not need to repeat the same code for three implementation.



© 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