From: Gilles B. <gi...@fr...> - 2001-01-26 17:06:30
|
I have a layer draggable and I use the widget RiFastSkinTreenode from www.richardinfo.com . I try to make a node of the tree a target for the drop with this code //---------------------- node11 is node of the tree myListenerNode=new EventListener(node11) myListenerNode.ondrop=function(e) { me=e.getTarget() source=DynAPI.document.dragobject alert('drop '+ source.id +' on ' + me.id ) } node11.addEventListener(myListenerNode) //----------------------------------------------- but no alert is fired when I drop a layer on node11 ? can someone help me ? Thanks |