logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Henk
    • Posted on Fri 9 Jul 2004 07:59 AM

    Jake,

    My pages still validate, so I read the spec as follows (between square brackets added by me):

    When present, the BASE element must appear in the HEAD section of an HTML document, before any element that refers to an external source [for the browser to correctly resolve its URI]. The path information specified by the BASE element only affects URIs in the document where the element appears.

    So I use absolute URI's to load HTMLArea and relative URI's for anything after the <base>-element. Anyway, it works :-)

    I forgot to mention that you also have to set the editors baseURL configuration property for this workaround to work.

    editor = new HTMLArea("your_htmlarea");

    editor.config.baseURL = "http:/ /your_base_url/";

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: