Hello,
i have a resizing problem with the following html code.
If you make inline div tags in your html page, and a DynLayer with a
image, then all Div tags become as background image the image of the
last DynImageLayer!!
What is wrong here?
Does someone know how i can solve the problem?
<html>
<head>
<script language="JavaScript" src="../dynapi/dynapi.js"></script>
<script language="Javascript">
DynAPI.setLibraryPath('..');
DynAPI.include('dynapi.api.*');
DynAPI.include('dynapi.ext.*');
DynAPI.include('dynapi.gui.dynimage.js');
</script>
<script language="Javascript">
DynAPI.onLoad = function() {
bgimage = DynImage.getImage('bgimage.gif');
bgimage2 = DynImage.getImage('bgimage2.gif');
}
DynImage.onLoaderDone = function()
{
mylayer = new DynImage(bgimage);
DynAPI.document.addChild(mylayer);
mylayer2 = new DynImage(bgimage2);
mylayer2.moveTo(100,100);
DynAPI.document.addChild(mylayer2);
}
</script>
<style>
.panel2{position:absolute; left : 20px; top : 20px;}
.panel3{position:absolute; left : 40px; top : 40px;}
</style>
</head>
<body>
<div id="panel2" class="panel2">panel2
</div>
<div id="panel3" class="panel3">panel3
</div>
</body>
</html>
Thanks
Chris
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev