Bug #132540, was updated on 2001-Feb-15 08:42
Here is a current snapshot of the bug.

Project: DynAPI 2
Category: Browser-Specific Issue
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: nobody
Assigned to : nobody
Summary: Adding child inline layer failes in NS4.7

Details: I am not sure if it's possible to fix it.
Hear goes the code. No text appears in NS4.7.
Is is important due to adding inline layer to ScrollPane.

<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 parent1 = new DynLayer( null, 100,100, 200, 200 );
  var layer1 = this.document.all['layer1']
  parent1.addChild( layer1 );
  DynAPI.document.addChild( parent1 ); 
  parent1.setBgColor( 'red' );
  layer1.setBgColor( 'yellow' );
}

</script>
</head>

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

</body>
</html>



For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=132540&group_id=5757

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

Reply via email to