The version of inline.js that is in the 2001.01.25 release doesn't support
NS6. The however the one in CVS has been updated to support NS6, you could
try grabbing the latest CVS version. Note that to use the latest version of
inline.js with the official release you will have to change all occurences
of is.ns6 back to is.ns5.

Cheers,

Cameron.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Casad
> Sent: 02 March 2001 04:57
> To: [EMAIL PROTECTED]
> Subject: [Dynapi-Dev] NS6 inline problem
>
>
> Hello:
>
> I tried the inline example that came with the 2001.01.25 version of DynAPI
> (just downloaded it) and was unable to get it to work in Netscape 6
> [Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; m18) Gecko/20010131
> Netscape6/6.01].  It worked fine in IE5.5 and Netscape 4.76.
>
> When I bring it up the "Testing inline layers" text is up in the top left
> corner of the window and it has no background color.  From my
> tests it seems
> that it is not recognizing .all["testlayer"], such as
> DynAPI.document.all["testlayer"].
>
> An ideas? From other posts it looks like people are getting it to
> work fine
> in NS6. Don't know why mine isn't working.
>
> Thanks,
> Chris
>
> Inline example provided by DynAPI 2001.01.25
> (dynapi/examples/dynapi.ext.inline.htm):
> <html>
> <head>
> <title>Inline layers</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')
>
> DynAPI.onLoad=function() {
>
>       DynAPI.document.all["testlayer"].setBgColor('#c0c0c0')
>       DynAPI.document.all["testlayer"].setSize(60,60)
>       DynAPI.document.all["testlayer"].moveTo(100,100)
>
> }
>
> </script>
> </head>
>
> <body>
> <div id="testlayer" STYLE="position: absolute">Testing inline layers</div>
>
> </body>
> </html>
>
>
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev


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

Reply via email to