Harald Weiser wrote:
I know this one, but then I would have to remember how many pages a called
since then... And I read that with go you can give a location as
parameter...
My refrerence says the same thing (JavaScript Bible by Danny Goodman):
go(relativeNumb er | "URLOrTitleSubs tring")
Which tells me that _some_ browsers will support a URL or Title
substring, IF AND ONLY IF the value exists in the history already.
The IE reference says the following about the parameter:
"[The parameter] specifies an integer or a string. An integer indicates
the relative position of a URL in the History list. A string indicates
an exact URL in the History list."
This is different than saying
[document|window].location.href= "newPlace", because it effects the
history differently.
Still, the value must exist in the history (not the cache), meaning you
must be able to navigate to it via forward and back. Note that there is
some security in the history model... you cannot see what is in it... to
avoid prying eyes from watching your every move :)
Brian