In the following code, in NS, the myLayer displays correctly but myLayer2
dos NOT! It shows every word in a separate line:
...
DynAPI.onLoad=function() {
DynAPI.document.setBgColor('white');
myLayer = new DynLayer()
myLayer.setSize(400,100)
myLayer.setBgColor('#c0c0c0')
myLayer.moveTo(450,100)
this.document.addChild(myLayer)
myLayer.setHTML('<form id="frmAny" name="frmAny"><center>this is a 2nd
test</center></form>');
myLayer2 = new DynLayer()
this.document.addChild(myLayer2)
myLayer2.setSize(400,100)
myLayer2.setBgColor('#c0c0c0')
myLayer2.moveTo(450,400)
myLayer2.setHTML('<form id="frmAny" name="frmAny"><center>this is a
3nd test</center></form>');
}
....
It looks like that when you "addChild" the layer must have enough width...
In IE there is no problem...
Any ideas?
Andreas
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help