You have to include dynapi.ext.inline.js if you want to retrieve
inline layers. I'm guessing that the getAll() lines are causing an
error which causes the execution to stop. If you include inline.js it
should fix the problem.
Robert
On 11/28/2001, Quang Nguyen wrote:
> //This will make all three layers appear on IE5.5 and NS6.2(winNT)
> DynAPI.onLoad = function()
> {
> myLayer2 = new DynLayer(null,100,100,80,50,'red',true)
> myLayer2.setHTML("myLayer2")
> DynAPI.document.addChild(myLayer2)
> layer1 = this.document.getAll()['layer1']
> layer2 = this.document.getAll()['layer2']
> }
> //Only layer1 and layer2 appear on IE5.5 and NS6.2(winNT)
> DynAPI.onLoad = function()
> {
> layer1 = this.document.getAll()['layer1']
> layer2 = this.document.getAll()['layer2']
> myLayer2 = new DynLayer(null,100,100,80,50,'red',true)
> myLayer2.setHTML("myLayer2")
> DynAPI.document.addChild(myLayer2)
> }
> Can someone confirm this?
> I have attached a small file I used to found that out... or maybe I did
> somewhere a small mistake.
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[email protected]/