Is this a bug ?
Works fine for NS6, not working for NS4.7 (layer1 has no html ?)

DynAPI.onLoad=function() {

  var layer1 = this.document.all['layer1']
  var parent = new DynLayer( null, 10,40,200,200 );

  parent.setBgColor( 'yellow' );
  layer1.setBgColor('#F8F8F8')

  parent.addChild( layer1 );
  DynAPI.document.addChild( parent );

  DragEvent.enableDragEvents( parent )
}
</script>
</head>

<body>
<div id="layer1" style="position:absolute; color:red;">This is a test</div>
</body>
</html>

As I wrote before, as long as inline layer has position:absolute IE5.0 crushes.
(But this is not a big problem).
The problem is why inline layer disapears in NS 4.7.

Any idea how can I add inline child layer ?

Thanks,
Krzysztof


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to