Hello) I need to determine when the #drag element will be moved to the #drop element, but I have a problem with the condition. Code: http://jsfiddle.net/hW23j/
Here is a section of code in which, I think, the problem itself:
if((e.pageX >= dropX) && (e.pageX < (dropX + dropW)) && (e.pageY >= dropY) && (e.pageY <= (dropY + dropH)))