Georg Maaß
2010-04-05 17:34:05 UTC
Hi,
which event should I register a listener for to get informed, when the
user navigates inside a document via hash links like <a href="#a">A</a>?
Navigation from one document to an other I catch by listening for
StateChange of the progress listener, but the progress listener has
nothing to do, when navigating within the same document, so I need to
listen to something else to get informed, when user navigated to an
other location within the same document.
Should I register for the click event, or is there a more suitable event
for my approach?
which event should I register a listener for to get informed, when the
user navigates inside a document via hash links like <a href="#a">A</a>?
Navigation from one document to an other I catch by listening for
StateChange of the progress listener, but the progress listener has
nothing to do, when navigating within the same document, so I need to
listen to something else to get informed, when user navigated to an
other location within the same document.
Should I register for the click event, or is there a more suitable event
for my approach?