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


1 Chat application in pure HTML
2 open tangoTemplate.html file for editing
3 add HTML content at will
  • <form name="chat">
  • <input type="text" name="tty" size=18>
  • <input type="button" value="send">
  • </form>
4 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;
5 register the application in a Tango ControlApplication

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