Hi Terry,

The LoadPanel inherits it's properties from DynLayer

so myProcessor.getHTML() would be the correct method.. 

HOWEVER: LoadPanel does not allow you to 'get' the html
It reaturns HTML that is just a DIV declaration.
Michael Pembertom has a seperate LoadPanel in the afroapi
that does allow gettoing the HTML. It is extra objects for DynAPI.

See the email below from Michael Pemberton.

> You can download it here: http://afroapi.freeshell.org/afroapi.zip
> The examples can be found here: http://afroapi.freeshell.org/examples/
> --
> Michael Pemberton
> [EMAIL PROTECTED]
> ICQ: 12107010

Ramon


------------------------------------------------
Ramon Buckland
Applications Engineer

email: [EMAIL PROTECTED]
web:   www.f5.com.au
phone: (07) 3257 7900
fax:   (07) 3257 7955

f5. Make the Medium Work. Simple.
------------------------------------------------


> -----Original Message-----
> From: slasherx2 [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 28 February 2001 6:25 PM
> To: 'Dynapi-Help
> Subject: [Dynapi-Help] LoadPanel and getting the HTML..
> 
> 
> I have the following code:
> 
>       myProccessor = new LoadPanel();
>       myProccessor.setSize(500, 19)
>       myProccessor.setBgColor('#ffffff')
>       myProccessor.moveTo(9,500)
>       DynAPI.document.addChild(myProccessor)
>       myProccessor.setURL('test_rs.asp?Action=createground')
>       myProccessor.setVisible(1)
>       myProccessor.setZIndex(6)
> 
> and this works, but when I try to do something like
> alert(myProccessor.html)
> I get undefined. I have tried innerHTML, getHTML, and every 
> other thing I
> can think of... even DynAPIDiagnose cant seem to find the HTML of the
> pannel. I must be missing something here.. I assume that it must be
> something like
> alert(myProccessor.panel.html) or something that I cant find. 
> I have looked
> at the API code for the loadpanel.
> 
> can someone point me in the right direction?
> 
> Thank you
>       Terry
> 
> 
> _______________________________________________
> 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