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

Reply via email to