[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Question about BASE implementation

From: Foteos Macrides
Subject: Re: LYNX-DEV Question about BASE implementation
Date: Tue, 22 Oct 1996 09:21:02 -0500 (EST)

Subir Grewal <address@hidden> wrote:
>found in the document at the URL
><html> <head>
><base href="";>
  ^^^^       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
><p>Internal link to <a href="#fragment">a fragment of this
>document</a> (i.e. </p>

        Having specified a BASE, the HREF="#fragment" logically refers
to a fragment in that BASE, not the current document, so if it indeed
refers to a fragment in the current document, you must include the
current document's complete URL in the HREF:

        <A HREF="";>...

Lynx will not retrieve and render the current document again, but simply
position the start of the fragment at the top of the page.  When you
don't have a BASE tag, and use just "#fragment", Lynx still must
resolve it (to "";)
before actually doing anything with it, so using a complete URL plus
fragment in the HREF simply causes Lynx to skip the resolving step.


 Foteos Macrides            Worcester Foundation for Biomedical Research
 address@hidden         222 Maple Avenue, Shrewsbury, MA 01545
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]