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

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