As I was using:
holderLayer.doc.images[0].name
I would have expected this example to be cross browser, but it's not, for
the same reason:
http://www.resass.f2s.com/dynapi/Richard_Examples/Images_with_ALT.html
Check the source code, as the visible code is outdated.
Richard
----- Original Message -----
From: "Michael Pemberton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 21, 2001 11:55 AM
Subject: Re: [Dynapi-Help] DynLayer.doc different in NS4.7?
> in NS, each layer has it's own document. therefor, all elements
> contained within are acces via layer.doc.element
> in IE, all elements are considered part of the main document. this is
> solved by making a pointer to the main document. layer.doc points to
> the main document.
>
> it is cross browser. do you have an example of the code that is causing
> the problem?
>
> "David B. Williams" wrote:
>
> > After creating a DynLayer and adding it as a child of a DynDocument,
> > I try to access the doc member. In IE, it seems to be set to a
> > document object, in NS4.7 it seems to be set to the empty string.
> >
> > Is this expected behavior or a bug?
> >
> > In IE, I had been accessing my form elements this way, for examples,
> > mylayer.doc.formname. I thought this was the prescribed way of
> > getting at a form. Is there some other way that is cross-browser
> > safe?
> >
> > --Dave
> >
> > _______________________________________________
> > 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
> ____________________________________________________________
> Get your domain name and domain-based e-mail from
> Namezero.com. New! Namezero Plus domains now available.
> Find out more at: http://www.namezero.com
>
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help