Re: Anchors in current file...

marca@ncsa.uiuc.edu (Marc Andreessen)
Date: Thu, 15 Jul 93 13:15:56 -0500
From: marca@ncsa.uiuc.edu (Marc Andreessen)
Message-id: <9307151815.AA04096@wintermute.ncsa.uiuc.edu>
To: roy@mchip00.med.nyu.edu (Roy Smith)
Cc: David Martland <David.Martland@brunel.ac.uk>, www-talk@nxoc01.cern.ch
Subject: Re: Anchors in current file...
In-reply-to: <9307151308.AA08092@mchip00.med.nyu.edu>
References: <9307151308.AA08092@mchip00.med.nyu.edu>
X-Md4-Signature: 0e5096a9c882e909d21c7ac113876e03
Status: RO
Roy Smith writes:
> >I don't know whether it is a bug in Mosaic or not, but using BACK
> >to return to a previous anchor does not seem to work if the anchor
> >is in the same file.
> 
> Yes, we have noticed the same thing.  I'm not familiar enough with
> the HTML specs to say if that's a bug or not, but it's certainly not
> the expected, or desired, behavior.

Well, it's not quite *that* simple.  The original decision (and yes,
it was a decision) was to put _documents_ in the history list.  Moving
around inside a document was thought to be different than moving to a
new document.

Like I said, 2.x reverses this policy.  Now, the question is: I go to
document foo.html and scroll to line 58.  A hypertext reference leads
to #myanch and I follow it, jumping to line 699 (which is where the
named anchor 'myanch' sits).  Now my history list looks like --

        foo.html        [cached line 58]
    --> foo.html#myanch [explicit line 699]

So then I scroll down to line 784, and then go 'back' (which jumps me
up to line 58).  Now the history list is:

    --> foo.html        [cached line 58]
        foo.html#myanch [explicit line 699, cached line 784]

NOW, if I go 'forward', should Mosaic put me on line 699 or line 784?

Hope this makes some sense,
Marc

--
Marc Andreessen
Software Development Group
National Center for Supercomputing Applications
marca@ncsa.uiuc.edu