Core Docs | Additional Modules Docs

Element.prototype.makeDraggable


@Description: Makes a DOM element draggable. All super elements, those normal elements passed through $ or elements created with sb.element, have the method makeDraggable when surebert.drag.js is included in the source.
@File: Element/prototype/makeDraggable.js
@Author: Paul Visco
@Version: 1.21 04-13-06 07-29-09
@Example:
var draggableThing = $('#dragme');
draggableThing.makeDraggable();

Element.prototype.makeUnDraggable


@Description: Makes a DOM element no longer draggable. All super elements, those normal elements passed through $ or elements created with sb.element, have the method makeUnDraggable when surebert.drag.js is included in the source.
@File: Element/prototype/makeDraggable.js
@Author: Paul Visco
@Version: 1.21 04-13-06 07-29-09
@Example:
var draggableThing = $('#dragme');
draggableThing.makeUnDraggable();