Hi all.

Can anybody clue this newbie in as to why the following code...

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

 </script>
 <script language="Javascript">
  DynAPI.onLoad=function() {
  var header = this.document.all['header']
  header.moveTo(100,0)
  header.setVisible(true)
  var body = this.document.all['body']
  body.setVisible(true)
  }
 </script>
</head>
<body>
<DIV id="header">
 This is the page header.
</DIV>
<DIV id="body">
 This is the page body.
</DIV>
</body>
</html>

...generates a "Line 15: header has no properties" error in Netscape
4.72 but not IE4/5 on NT 4.0 Workstation?  I've probably missed
something, but I've checked the FAQ, tutorials and DynAPI sites and
still have no idea.

Any help is greatly appreciated.

Thanks in advance,

CJ


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

Reply via email to