> 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

----- Original Message -----
From: "wes currier" <[EMAIL PROTECTED]>
To: "dynapi help" <[EMAIL PROTECTED]>
Sent: Friday, March 02, 2001 8:35 AM
Subject: [Dynapi-Help] setURL


> 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.
>
> <a href="javascript: lp.setURL('../LICENSE');">Load txt file
> License</a><br>
> <a href="javascript: lp.setURL('../README.txt');">Load txt file
> Readme</a><br>
>
> What is the proper method or does it matter?
>
> Also what is read from the URL, is it the complete file or what is
> between the body tags like Pemberton's stuff?
>
> 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?
>
> Also where is documentation on setURL() and getURL()? I could not seem
> to find it in the Dynapi documentation. Is this a widget function?
>
> wes currier
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
> ____________________________________________________________
> Get your domain name and domain-based e-mail from
> Namezero.com. New!  Namezero Plus domains now available.
> Find out more at: http://www.namezero.com
>


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

Reply via email to