No, you don't need full tags, just the bit you need, <body> not needed
either.
If I remember correctly, you *can* use javascript (maybe only in links) as
well, it will however reference the parent page, so you could have
        <a href="javascript: loadPage('blah')">Load Page</a>
as long as loadPage() is a function in the main page, not the loaded one.

Richard

----- Original Message -----
From: "wes currier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, March 03, 2001 1:39 AM
Subject: Re: [Dynapi-Help] setURL


> OK this is good.
> If the file loads only the section between the body tags could I create
> a file like this
> and have it work:
> <body>
>   some HTML
> </body>
>
> Or do I have to have a fully compliant HTML page with HEAD, TITLE, BODY
> ?
>
>
> Richard Bennett wrote:
> >
> > > In looking through the examples (Christopher's) at richard's site,
> > > referencing setURL(), one example lists the file extension when
setURL()
> > > or getURL() is selected and one does not.
> > That's because one of the files had an extension on the server, one
didn't.
> > You have to call the exact file name, with extension if it has one.
> >
> > > Also what is read from the URL, is it the complete file or what is
> > > between the body tags like Pemberton's stuff?
> > It's basically what is rendered to the browser, so the body, without
> > javascript .
> >
> > > In all the examples the files loaded seem to be raw text files. May I
> > > load HTML, or is this what Michaels widget is for?
> > You can load any html content.
> > If you want to load plain text files like in the examples, you have to
add
> > <pre></pre> around your text to keep line breaks, and tabs.
> >
> > > Also where is documentation on setURL() and getURL()? I could not seem
> > > to find it in the Dynapi documentation. Is this a widget function?
> > These belong to loadpanel.
> >
> > Cheers,
> > Richard Bennett
> >
> > [EMAIL PROTECTED]
> > www.richardinfo.com
> > (Everything running on, and ported to the 19/12/2000 snapshot of
DynAPI2)
> > Find the DynAPI faq here:
> > http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757
> > Browse the mailinglist here:
> > http://www.mail-archive.com/index.php3?hunt=dynapi
> >
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to