Tutorial Draggable without jQuery UI

It doesn't have all the fancy callbacks and options, but hey, it makes things draggable (and with a specified handle optionally). (funct...

It doesn't have all the fancy callbacks and options, but hey, it makes things draggable (and with a specified handle optionally).
(function($) {
$.fn.drags = function(opt) {

opt = $.extend({handle:"",cursor:"move"}, opt);

if(opt.handle === "") {
var $el = this;
} else {
var $el = this.find(opt.handle);
}

return $

Hot in Week

Popular

Archive

item