Which Event to listen for, when user navigates to an ID within the same document?
Georg Maaß <[email protected]> Mon, 05 Apr 2010 19:34:05 +0200
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
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?