W3C home > Mailing lists > Public > www-svg@w3.org > July 2004

Re: The 'hanlder' element

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Sat, 17 Jul 2004 12:31:37 +1000
To: "'www-svg@w3.org'" <www-svg@w3.org>
Message-ID: <20040717023137.GA13357@mcc.id.au>

Hi James.

James Bentley:
> Would it be possible for a 'handler' to contain
> and/or reference SVG content? The 'handler'
> can specify a type of 'image/svg'. The contents
> of the 'handler' would not be rendered until
> the event, to which it is bound, occurs.

I think that this could be done without changing the handler element,
just by using SMIL to set the display property of a g element on the
event you are interested in, for example:

  <g display="none">
    <!-- stuff to display on rect click -->
    <set begin="r.click" attributeName="display" to="inline"/>
  <rect id="r" width="10" height="10"/>


Cameron McCormack
|  Web: http://mcc.id.au/
|  ICQ: 26955922
Received on Friday, 16 July 2004 22:31:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:02 UTC