If you are creating the layer in NS4, I'm not sure that it is given an ID such that
it can be access like you have done.  To make sure that is works cross browser, use
the DynLayer.doc.images element.  This point to the correct doc element for both IE
and NS.

"Carlos A. Pacheco Navas" wrote:

> Hello to all of you.
>
> Maybe I didn't explain the case correctly.
>
> I know image.complete works well when the image is in the document, but if I
> have a layer called "temp", which contains an image named "p" and I make:
>
> document.layers['temp'].document.images['p'].complete, then it always says
> it's false.
>
> I know I have the trivial solution to activate event listener onload for
> that image, but just wanted to know if it's normal or maybe I'm doing
> something bad.
>
> Thanks.
>
> ----------------------------------------------------------------------------
> Carlos Pacheco Navas                               Departament d'electrònica
> Enginyeria La Salle                                CeDEI
> Tef: 93 290 24 35                                                Fax:93 290 24 16
> http://www.salleurl.edu/~carlosp
> ----------------------------------------------------------------------------
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




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

Reply via email to