Hi. I am an awesome IT guy. This is my website where you can find my stuff.

+3630 / 38 69 142
info (at) genart.hu

myDrag

If you apply this plugin to an element, you will be able to drag and drop it.

How to use



  myDrag uses the jQuery framework. Load jQuery and myDrag javascript files in the proper order.
<script type="text/javascript" src="jquery-1.8.2.js"></script>
<script type="text/javascript" src="mydrag.js"></script>
Then include the myDrag CSS file
<link href="style.css" rel="stylesheet" type="text/css"/> 
Insert this jQuery code in the head section. You can add it to any html DOM element (eg. $('div')).
<script type="text/javascript">
     $(document).ready(function(){
     	$('#mydiv').myDrag();
     });
</script>