Can anyone please tell me, why this very simple piece of code doesn't work in NS4.08??? (It's working in IE5) It crashes when I'm adding the layer to the document. That means that I only getting the first alert (see code)
 
Please help me...
 
Yours
Kasper
 
DynAPI. {
file://adding DynLayer(layer ID,x,y,w,h,bgcolor,visible,z-index,bgImage,html
formCanvas=new DynLayer(null,250,180,350,150,"green")
formCanvas.setZIndex(999999)
alert("BEFORE adding layer to document")
DynAPI.document.addChild(formCanvas)
alert("AFTER  adding layer to document")
}

Reply via email to