Paul Neave wrote:[color=blue]
> Yahoo! has launched a beta of it's new mapping application:
>
>
http://maps.yahoo.com/beta/
>
> It's based in Flash, but it uses JavaScript. I'm curious about one
> feature, though - when you pan about the map, the URL in the address
> bar of your browser changes to match your current location. How have
> they done this? I thought calling window.location.href = "etc"; would
> reload the page, navigating away from the current URL. Yahoo! have
> managed to do this without the page changing. This is a very useful
> technique for DHTML/AJAX/Flash technology and I'd love to know how
> they've done it.
>
> Many thanks,
> Paul.[/color]
An example of non-parallel thinking, combined with 3W recommendations
sent to the hell.
Link hash part (anchor name) #blah-blah-blah does not lead to
navigation away from the current page. Unresolved anchor names do not
lead anymore neither to a page shift not to an error: tested on IE 6.0
and FF 1.0.7
Opera 8.1 fails on it (did not check yet Opera 8.5, cannot check Safari
and Konqueror)
document.location.hash = "Write all what you need";
Ingenious! Another exellent example to myself to read less about
standards or rely on some previous experience. Only continues
experiments on concrete systems have practical value.