W3C home > Mailing lists > Public > public-svg-wg@w3.org > January to March 2010

Re: ISSUE-2311 (anchor events): Anchor events (anchorActivated, anchorTargeted) [SVG Core 2.0]

From: Robin Berjon <robin@berjon.com>
Date: Mon, 8 Mar 2010 12:46:47 +0100
Cc: SVG Working Group WG <public-svg-wg@w3.org>
Message-Id: <B37AB41B-5843-4E5D-B4EA-86ADD1D3B9E4@berjon.com>
To: Doug Schepers <schepers@w3.org>
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?

-- 
Robin Berjon - http://berjon.com/
Received on Monday, 8 March 2010 11:47:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:11 UTC