It is a very light script which facilitate drag and drop functionality. One one has to add "drag" class on element, rest plugin do its work.There is a class "dragStat" has been added, where one can give css effects to elements.
Add elements on the page with class "drag".
Write css for the class drag as mentioned below, mainly its position abolute property rest you can add by your requirement.
In script if you want to edit element's class i.e. "drag". Search for:
var dragElement = document.getElementsByClassName('drag');
and change the class name as per requirement. Similarly you can change "dragStat" class too. Only you have to serch for the class "dragStat" and replace as per your choice.
That's all you have to do.