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

Reply via email to