Well, attached is a pretty crude example.  It references a private attribute
of the dynalayer (which is a no-no), but DynAPI.getDocuement(lp.id) [or it
should be t.id in the event listener] doesn't seem to return a pointer the
the document (of the layer).  In any case, you should be save the .html file
in the examples dir and check it out.

-Mark

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Jorge López
> Sent: Tuesday, March 20, 2001 3:38 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Dynapi-Dev] [ dynapi-Bugs-409730 ] LoadPanel
> 
> 
> How did you did that exactly?
> 
> ----- Original Message -----
> From: "Haviland, Mark" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 20, 2001 12:03 PM
> Subject: RE: [Dynapi-Dev] [ dynapi-Bugs-409730 ] LoadPanel
> 
> 
> > > It is possible to use inline javascript in a loadpanel in IE.
> > > The script
> > > must be in the body of the document, as IE ignores everything
> > > outside the
> > > body tags. The script tags must include the defer parameter.
> > > Although this
> > > works, Netscape and IE use a different namespace for scrips
> > > defined in this
> > > fashion, which makes them difficult to use.
> > >
> >
> > Or you could catch the onload event for the loadpanel and 
> execute some
> > javascript in the <script> that creates the loadpanel.  
> This will work for
> > both Netscape & IE (at least is does for me :).  The only 
> problem is where
> > to add your 'stuff'...maybe findlayers on the doc ??  But, 
> if you have to
> do
> > something with a form, then it is not a problem.
> >
> > -Mark
> >
> > _______________________________________________
> > Dynapi-Dev mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> >
> >
> >
> 
> 
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
> 

Title: DynAPI Distribution: LoadPanel Example

use ILayer Netscape
do not use ILayer Netscape (default)

use IFrame IE (default)
do not use IFrame IE

Load Files:
file 1
file 2

Set Width:
150
250

Clear

Reply via email to