While trying out the example of animation suggested in
the tutorial, i got a couple of errors as 'is' is not
defined...
The thing is that replacing de explicit include of
dynapi.api packages by a dynapi.api.* include, they
stopped appearing.
The code that makes it fail is in the tutorial, but here you
have it also. Ive removed the animation stuff :):
Notes: i have moved the dynapi stuff into a js/dynapi dir
in my "webapp". The version i'm currently using is 2.5.6.
It fails in netscape (4.7) and explorer(5.0)
-------------code begin----------
<html>
<head>
<Script language="Javascript"
src="../js/dynapi/dynapi.js"></script>
<Script language="Javascript">
DynAPI.setLibraryPath\('../js/'\) DynAPI.include\('dynapi.api.\*'\) &lt;/script&gt; &lt;script language=&quot;Javascript&quot;&gt; DynAPI.onLoad=function\(\) \{ myLayer=new DynLayer\(\) myLayer.setSize\(100,100\) myLayer.moveTo
((DynAPI.document.w/2)-50,50)
myLayer.setHTML('DXCP
ANIMATION')
DynAPI.document.addChild
(myLayer)
\}
</script>
</head>
<body>
</body>
</html>
-------------code end-------------