Ok, here's to help out your confussion and get you on the right track:
 
setHTML is not used with external HTML files in any way. setURL would, but that method is only available in LoadPanel (which is in the official realaese) or in LoadLayer (an widget extension available att www.richardinfo.com)
 
However the LoadPanel is still not really stable with reloading a document multiple times, the LoadLayer a little more stable, but has some incompabilities with older browser I think (unless it's been fixed).
 
Another method is to make an ordinary inline layer (with the inline etension you can control these too as dynlayers) and put the style-element variable setURL to your page. This is though necessary to be more or less hard-coded and static, so its all up to how and what you are using it for.
 
But I'm guessing you still want the document inside the vieport, so what you do is make the loadpanel a child of the viewport. There's an example or two f that on www.richardinfo.com too. 
 
Just keep at it, you gotta find your own way of doing it to learn to do it properly. I knoww i've tried it myself once or twice, but right now I can't find a single one in my archives of attempts...
 
Henrik Våglin [ [EMAIL PROTECTED] ]
 
-------Original Message-------
 
From: T Savage
Date: den 17 februari 2002 20:47:28
Subject: [Dynapi-Help] Using setHTML to get code from a seperate file?
 
Is this possible?

Can you use the setHTML method of a DynLayer to get code from a seperate
HTML file?

If not.... can you use an external HTML file in a Label element?


Basically, i'm trying to get code from an outside HTML file and use it in a
viewport element. Similar in application to an IFrame in IE.

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help
.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here

Reply via email to