Hi, Is it possible to set a layer draggable enven if it was not created the way shown in examples: LayerTest=this.document.addChild(new DynLayer(null,300,300,300,100,'silver')) DragEvent.enableDragEvents(LayerTest)
I have got layers like that: <div id="Layer1Div" style="position:absolute; left:583px; top:30px; width:43px; height:21px; background-color:white; layer-background-color:white; border: 1px solid black;">Alsace</div> <div id="Layer2Div" style="position:absolute; left:649px; top:41px; width:61px; height:22px; background-color:white; layer-background-color:white; border: 1px solid black;">Aquitaine</div> ... And I want them to be draggable. Is it possible? How? With Dan Steinman's code I did: ... DynLayerInit(); layermot=new Array for(i=1;i<nblaydepl+1;i=i+1){ layercourant="Layer"+i+"Div"; layermot[i]=new DynLayer(layercourant); drag.add(layermot[i]); } ... But it doesn't work with Mozilla... Layers weren't dynamicly generated, and I just want (at this time) to make it OK with Mozilla. Can you help me, please? Thank you very much! -- Stephane ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help