Need a reference to the dragged HTML object

Hi,
I would like to customize the Html object moving while dragging is in process … let me explain : when I drag a tree element, there is a frame includeing an icon and the tree element’s label. Is there any means to get an object reference on this frame for it is customized ?

Moreover, I would like to the coordinates of this element on the screen …

Best regards, Frédéric.

Hi,

There is onDragIn that is fired while an item is dragged over another one. window.dhtmlDragAndDrop.dragNode is html element that is shown during dragging.

tree.attachEvent(“onDragIn”,function(sourceId,targetId){
var node = window.dhtmlDragAndDrop.dragNode;
/your code here/
return true
})

You may customize it if it is needed