Re: Anchors in current file...

brian@eitech.com (Brian Smithson)
Resent-From: brian@eitech.com (Brian Smithson)
Resent-Message-Id: <9307151344.AA11463@eitech.com>
Resent-Date: Thu, 15 Jul 1993 06:44:06 -0700
X-Mailer: Z-Mail (2.1.4 02apr93)
Resent-To: www-talk@nxoc01.cern.ch
From: brian@eitech.com (Brian Smithson)
Message-id: <9307150638.ZM11429@eitech.com>
Date: Thu, 15 Jul 1993 06:38:01 -0700
In-Reply-To: neuss@igd.fhg.de
        "Re: Anchors in current file..." (Jul 15,  3:26pm)
References: <9307151326.AA03239@wildturkey.igd.fhg.de>
X-Mailer: Z-Mail (2.1.4 02apr93)
To: neuss@igd.fhg.de
Subject: Re: Anchors in current file...
Status: RO
On Jul 15,  3:26pm, neuss@igd.fhg.de wrote:
> Subject: Re: Anchors in current file...
> Dear fellow netters,
> 
> Brian Smithson (brian@eitech.com) wrote
> > I'm not sure if it's a bug or a feature :-), but if the anchor is of the
> > form <a href=#label> then the link won't be recorded the window history
> > and Back will not go back to the anchor, but if it is of the form
> > <a href=[regular URL stuff]#label> then it will be added to the history
> > list and Back will work as you had wanted it to.  I thought this was
> > intentional and found it to be useful!
> 
> I disagree.. let's say you have a list of local links in your file, e.g.
> in a table of contents or something like that. Now if you click on one of
> these links, it'll take you somewhere else in the file, and the only way to
> go back is by scrolling back and forth and trying to find where the heck you
> came from... I *do* consider this a bug! 
>-- End of excerpt from neuss@igd.fhg.de

I'm not sure how you can disagree with "I found it useful".  I happen to be
a noted authority on my own opinions :-).

About the link behavior: your example is a good one, and you could use the
second (albeit rather verbose) form and it will behave as you want.  All I was
saying was that I found the other behavior to be useful in some circumstances.

Now, whether that behavior is legitimate with regard to HTML specs is another
matter...


-- 
-Brian Smithson                                          brian@eitech.com
 Enterprise Integration Technologies                      +1 415 617 8009
 459 Hamilton Avenue, Palo Alto, CA 94301 USA         FAX +1 415 617 8019