1: Put the style sheet and the dragdrop.js between the head tags of your page html.
         IMPORTANT! Do not remove "position : relative;" from the dragme style.
     2: To apply Drag-Drop to something, just give it the  class  dragme.

JS  drag'n drop  with mousepos and getID functions.


CSS used :
<style type="text/css">
.dragme{ position : relative; cursor : move; }


P tag

Div: Relative position


Div: Absolute position