W3C home > Mailing lists > Public > www-style@w3.org > August 2001

RE: Behavioral Extensions to CSS

From: Dave J Woolley <david.woolley@bts.co.uk>
Date: Thu, 2 Aug 2001 18:25:11 +0100
Message-ID: <81E4A2BC03CED111845100104B62AFB50102A8A7@stagecoach.bts.co.uk>
To: "'www-style@w3.org'" <www-style@w3.org>
> From:	Jeffrey Yasskin [SMTP:jyasskin@hotmail.com]
> 
> onclick="myonclickhandler()" Where are the objects there?
> 
[DJW:]  This defines a one statement 
instance method (Ecmascript has
prototypes rather than class methods) of the element
that contains the attribute.  You can see this if you
use self in the code.  The onscript is executed in the
context of the object, not in a global one.  (I've 
used self in such instance methods, but I've never
noticed it used elsewhere.)


-- 
--------------------------- DISCLAIMER ---------------------------------
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of BTS.
>  
Received on Thursday, 2 August 2001 13:25:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:10 GMT