Use the HTML DOM to assign "ondragstart", "ondragenter", "ondragleave", "ondragover" and "ondrop" events to the document object.
Drag the text up and down between the two rectangles:
Drag me!