- From: Agustín <yo@agustinfernandez.com.ar>
- Date: Wed, 15 Aug 2007 14:46:23 -0300
Hi, anchorchange ------------ I like anchorchange, I think it's the most descriptive of all the proposed names. Otherwise, hashchange is good enough for me. Can the event be preventDefaulted? --------------------------------- Also, could the default action of the event be prevented? I think that to have a working implementation we shouldn't require that. However: 404 not found for anchors ------------------------- There are interesting cases to think of: what happens with anchors which are not handled by the application? The browser won't know that and will probably store the "404 not found error" equivalent page in the location bar autocomplete history. How could this be handled? This problem doesn't exist just for anchorchange events, since the non-existing location might be the first url the user visits and then there would be no opportunity to notify the browser that the url is invalid. Perhaps this could be handled by adding some method in the "history" object. Anyway, I guess that we can live without this. . A . On Wed, 2007-08-15 at 08:30 -0400, Leons Petrazickis wrote: > > There is an HTMLCollection anchors that only lists <a name=""> > elements. Extending the link-anchor metaphor into Javascript, the > fragment identifier anchors a DOM state. When a fragment identifier > changes, the anchor of the DOM state changes. >
Received on Wednesday, 15 August 2007 10:46:23 UTC