Basic HTML version of Foils prepared October 20 1999

Foil 25 User and System Events

From Tango Futures: XML for Portals, Web-based Collaboration and Distance Education Rice University Tango Tutorial -- October 18 1999. by Geoffrey C. Fox


1 One can either share raw system message (click event occurred) or higher level user event generated by JavaScript invoked by event
2 Note Netscape 4.5 does NOT allow you to generate a general event in a page
  • You can invoke "click" events on form elements but not so events associated with layers
  • You can parse JavaScript invoked by event and transmit but this is unreliable
3 So User events are convenient and sometimes required
4 Function process() ...
5 Invoke Tango JS Interface
6 with user defined meaning
7 Click on Button which happens to
8 invoke some User JavaScript Code
9 Capture Click and
10 Invoke Tango JS Interface
11 with meaning that click occurred
12 Or

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 Wed Oct 20 1999