problem was only in latest Dynacore release. Fixed now, will upload new
version tomorow (I think).
Pascal Bestebroer
pa...@dy...
http://www.dynamic-core.net
> -----Oorspronkelijk bericht-----
> Van: dyn...@li...
> [mailto:dyn...@li...]Namens Raible, Matt
> Verzonden: vrijdag 12 januari 2001 17:33
> Aan: dyn...@li...
> Onderwerp: [Dynapi-Dev] Inline Layers
>
>
> I modified the inline layers code that came with the tutorial, but for
> some reason, the following code does not work - any ideas?
>
> You can also view this file at
> http://raible.corp.edeploy.com/edeploy_virtual/layers.html
>
>
> <html>
> <head>
> <title>Inline layers</title>
>
> <script language="Javascript" src="javascript/dynapi.js"></script>
>
> <script language="Javascript">
>
> DynAPI.setLibraryPath('javascript/lib/')
>
> DynAPI.include('dynacore.api.*')
> DynAPI.include('dynacore.ext.inline.js')
>
> DynAPI.onLoad=function() {
>
> DynAPI.document.elements["testlayer"].setBgColor('#c0c0c0')
> DynAPI.document.elements["testlayer"].setSize(60,60)
> DynAPI.document.elements["testlayer"].moveTo(100,100)
>
> DynAPI.document.elements["layer2"].setBgColor('#c0c340')
> DynAPI.document.elements["layer2"].setSize(180,60)
> DynAPI.document.elements["layer2"].moveTo(200,100)
>
> }
>
> </script>
> </head>
>
> <body>
> <div id="testlayer" STYLE="position: absolute">Testing inline
> layers</div>
>
> <br>
> <div id="layer2" STYLE="position: absolute">Testing inline layers2</div>
> </body>
> </html>
>
>
> _______________________________________________
> Dynapi-Dev mailing list
> Dyn...@li...
> http://lists.sourceforge.net/lists/listinfo/dynapi-dev
>
|