W3C home > Mailing lists > Public > www-html@w3.org > December 2002

Re: Using CSS for XML Events

From: Daniel Glazman <glazman@netscape.com>
Date: Mon, 23 Dec 2002 05:39:59 +0100
Message-ID: <3E06939F.90706@netscape.com>
To: Toby Inkster <tobyink@goddamn.co.uk>
CC: www-html@w3c.org, Vidur Apparao <vidur@netscape.com>, cwilso@microsoft.com

Toby Inkster wrote:

>Not a bad idea, but I don't think it should be part of CSS -- maybe
>through a file with CSS-like syntax:
>
>=========================================================
>@define ("text/javascript") {
>    function myPopupFunction() {
>        blah...
>    }
>    function helloWord() {
>        window.alert("Hello World");
>    }
>}
>@import ("some_more_functions.js");
>@import ("more_functions_again.pl");
>a.popup
>{
>    onClick: myPopupFunction(attr(href));
>}
>========================================================
>

I just can't believe my eyes.
This is almost exactly what Vidur and ChrisW discussed together so long 
ago !
Same problem, same solution, same issues. Wow.

</Daniel>

-- 
Daniel Glazman  - Netscape Communications Corp. -  glazman@netscape.com
Netscape is Linux Journal Editors Choice Award for Best Web Client 2002
  Netscape 7.0 : 13.588.591 downloads so far... and it's not over !
Received on Sunday, 22 December 2002 23:38:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:53 GMT