Re: Using CSS for XML Events

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 UTC