| next | toppreviousResponding to Events


It's easy to define event handlers using "when"

     prototype Link extends inline
     {
         href = "http://www.w3.org/";
 
         ...
 
         when onmousedown
         {
             document.load(this.href);
         }
     }
 

HP Dave Raggett