Thanks Jordi, Netscape *did* need that style property set. Go figure.
CJ
Jordi Ministral wrote:
> A div does not become a layer in netscape unless it has the 'position'
> style property set. I ought to think you needed it to be absolute
> positioned, but recently someone discovered (haven't tested) that if you
> explicity set it to be position:relative it works as well.
>
> I'd suggest you don't use BODY as a div's id. Might cause weird
> behaviours.
>
> Jacobson Callan wrote:
>
> > 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
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help