Basic HTML version of Foils prepared April 25 98

Foil 4 HelloWorld for Tango - JavaScript Application

From Simple Examples and Automatic Synchronization Tango Tutorial Alliance 98 NCSA Illinois -- April 27 98. by TangoInteractive Team


Chat application in pure HTML
open tangoTemplate.html file for editing
add HTML content at will
  • <form name="chat">
  • <input type="text" name="tty" size=18>
  • <input type="button" value="send">
  • </form>
add collaboratory functionality
  • call Tango_send(m) when Send buttom pressed
    • onclick="Tango_send( this.form.tty.value )"
  • handle Tango_receive(m) when message arrives
    • document.forms.chat.tty.value=m;
register the application in a Tango ControlApplication



© 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