I have drag drop working without a problem, but I notice it only fires the listener if the mouse is released over the target. I'm about to try and write something that will fire if there is any over lap at all between source and target layers - has any work been done on this, does anyone have any pointers?check out the dragdrop code for the following function:
DynObject.prototype.DragDrop=function(s,e){
....
if (chX<eX && chX+ch.w>eX && chY<eY && chY+ch.h>eY) { <<== IMPORTANT LINE
if (ch.DragDrop(s,e)) return true;
ch.invokeEvent("drop");
return true;
}
....
};
Above, I have marked the line that actually does the evaluation of what defines a "drop". You should be able to play with this line to make it test for a wider range of scenarios.
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010