yes.

var myLayer = DynAPI.document.addChild(new
DynLayer('myLayer',100,100,200,200));
var myHTMLString = "<form name='theform' onsubmit='www.whatever.com'>"
  +"Name:<input type=text name='userName'>"
  +"<input type=submit value='clickme'>"
  +"</form>"
  +"<img src=myimage1.gif>"
  +"<img src=myimage2.gif>"
  +"<img src=myimage3.gif>"
  +"<img src=myimage4.gif>"
  +"<img src=myimage5.gif>"
  +"<img src=myimage6.gif>"
  +"<img src=myimage7.gif>"
  +"<img src=myimage8.gif>"
  +"<img src=myimage9.gif>"
  +"<img src=myimage10.gif>"
  +"<img src=myimage11.gif>"
  +"<img src=myimage12.gif>"
  +"<img src=myimage13.gif>";

 myLayer.setHTML(myHTMLString);


So let's see.. we have some _HTML_ (var myHTMLString) and we want it to be
in a _LAYER_ (var myLayer).
We use setHTML to _SET_THE_HTML_ of the _LAYER_ to be the _HTML_ we have
created in var myHTMLString.

I'm trying not to be rude here, but, what they hell are you talking about?
Your question still makes no sense. Have you actually tried to create a
layer and set the HTML or have you been hired by my co-workers to drive me
nutz?
(Please.. do not take offense to anything I say, I am simply trying to help
you, but don't know what I am helping you with)


----- Original Message -----
From: "Quang Nguyen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 19, 2001 5:48 PM
Subject: Re: [Dynapi-Help] How do you fill up a layer?


> For example, let's supposed you want a layer to have a form, a few dozen
> pictures, and a submit button, how will you do that? Will you still use
> setHTML()?
>
>
>
>
> ----Original Message Follows----
> From: "Doug Melvin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: [Dynapi-Help] How do you fill up a layer?
> Date: Mon, 19 Nov 2001 15:21:12 -0500
>
> I think you need to be more specific.
> The rest of us use myLayer.setHTML() to set HTML,
> and the layer can still be manipulated just fine.
>
> You are going to have to provide far more details as to your problem
before
> we can help your.
> soirry.
> ----- Original Message -----
> From: "Quang Nguyen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 19, 2001 3:10 PM
> Subject: Re: [Dynapi-Help] How do you fill up a layer?
>
>
>  > Yeah but you can't manipulate the layers anymore...
>  >
>  >
>  > ----Original Message Follows----
>  > From: "Doug Melvin" <[EMAIL PROTECTED]>
>  > To: "Quang Nguyen" <[EMAIL PROTECTED]>,
> <[EMAIL PROTECTED]>
>  > Subject: Re: [Dynapi-Help] How do you fill up a layer?
>  > Date: Mon, 19 Nov 2001 14:42:29 -0500
>  >
>  > uh, yes?
>  > What's the problem?
>  > If you want <div>HTML</div>
>  > then use inline layers
>  > ----- Original Message -----
>  > From: "Quang Nguyen" <[EMAIL PROTECTED]>
>  > To: <[EMAIL PROTECTED]>
>  > Sent: Monday, November 19, 2001 2:24 PM
>  > Subject: [Dynapi-Help] How do you fill up a layer?
>  >
>  >
>  >  > In the first DYNAPI, I used to create my own layer and fill them up
> with
>  > a
>  >  > LOT of HTML. In the second DYNAPI, it seems that you have to use
> setHTML.
>  > Is
>  >  > this really the only way?
>  >  >
>  >  > _________________________________________________________________
>  >  > Get your FREE download of MSN Explorer at
>  > http://explorer.msn.com/intl.asp
>  >  >
>  >  >
>  >  > _______________________________________________
>  >  > Dynapi-Help mailing list
>  >  > [EMAIL PROTECTED]
>  >  > https://lists.sourceforge.net/lists/listinfo/dynapi-help
>  >
>  >
>  >
>  > _________________________________________________________________
>  > Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>  >
>  >
>  > _______________________________________________
>  > Dynapi-Help mailing list
>  > [EMAIL PROTECTED]
>  > https://lists.sourceforge.net/lists/listinfo/dynapi-help
>  >
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help
>
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/dynapi-help


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

Reply via email to