Can anyone confirm that IE5 crushes with this code?
Is it just my personal IE problem ?
Any idea why NS4 shows nothing in message box ?

Try to uncomment layer1.moveTo( 10, 10 );

Thanks,
Krzysztof

<html>
<head>
<script language="Javascript" src="js/dynapi/src/dynapi.js"></script>
<script language="Javascript">
DynAPI.setLibraryPath('js/dynapi/src/lib/')
DynAPI.include('dynapi.api.*')
DynAPI.include('dynapi.ext.inline.js')
</script>
<script language="Javascript">

DynAPI.onLoad=function()
{
  var layer1 = this.document.all['mylayer'];

  window.alert( layer1.getHTML() );

  var parent1 = new DynLayer( null, 10,40,200,200 );

  parent1.setBgColor( 'yellow' );
  layer1.setBgColor('#F8F8F8');
  layer1.setSize( 30, 30 );
  // layer1.moveTo( 10, 10 );

  parent1.addChild( layer1 );
  DynAPI.document.addChild( parent1 );
}
</script>
</head>

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



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

Reply via email to