- From: Erik Dahlstrom <ed@opera.com>
- Date: Mon, 08 Mar 2010 13:04:33 +0100
- To: "Robin Berjon" <robin@berjon.com>, "Doug Schepers" <schepers@w3.org>
- Cc: "SVG Working Group WG" <public-svg-wg@w3.org>
On Mon, 08 Mar 2010 12:46:47 +0100, Robin Berjon <robin@berjon.com> wrote: > Hi, > > On Mar 8, 2010, at 11:41 , Doug Schepers wrote: >> Robin Berjon wrote (on 3/8/10 5:25 AM): >>> On Mar 6, 2010, at 19:50 , SVG Working Group Issue Tracker wrote: >>>> ISSUE-2311 (anchor events): Anchor events (anchorActivated, >>>> anchorTargeted) [SVG Core 2.0] >>>> >>>> http://www.w3.org/Graphics/SVG/WG/track/issues/2311 >>>> >>>> Raised by: Doug Schepers On product: SVG Core 2.0 >>>> >>>> It would be useful for authors to know when an anchor has been >>>> activated, and when an anchor target (e.g. a fragment-id) has >>>> been navigated to. These events can be applied for both script or >>>> declarative animation. >>> >>> There's already been work on this, see: >>> >>> https://developer.mozilla.org/en/DOM/window.onhashchange >> >> Ah, good. ("hashchange" is a terrible name, but...) > > You don't say, but hey, it's there. > >> Is there also an event when a link is activated? > > I'm not sure I understand what you're looking for precisely here, the > click event is dispatched when a link is activated (even if not by > clicking) — or am I missing something? http://www.w3.org/TR/SVG11/animate.html#BeginValueListSyntax Specify begin="indefinite" and the animation can be started by a hyperlink to that animation element, which I think addresses at least a part of your use-case. Cheers /Erik -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed
Received on Monday, 8 March 2010 11:59:05 UTC