$(document).ready(function() { var $dragging = null; $(document.body).on("mousemove", function(e) { if ($dragging) { $dragging.offset({ top: e.pageY, left: e.pageX }); } }); $(document.body).on("mousedown", "div", function (e) { $dragging = $(e.target); }); $(document.body).on("mouseup", function (e) { $dragging = null; }); });
Really enjoyed this post.Really thank you! Much obliged.
Wow, great blog.Much thanks again. Will read on…
Awesome blog post.Thanks Again. Will read on…
Really informative article post.Really thank you! Much obliged.
I quite like looking through an article that will make men and women think.
I cannot thank you enough for the post. Keep writing.