Javascript Make Div Draggable AND Resizable

Javascript Code to Make a Div Draggable and Resize the Div Height and Width via Mouse Drag

Home Short:

As as example of the Javascript code to make a div moveable and resizable, This div can be moved and resized.

X
DRAG ME

This is an example of a dragabble div draggable via a title bar.

X

The code below is all that is needed to drag around and resize any div (or other element). Much less code and much less complicated than many other websites would have you believe, especially the code to be able to resize an element.

S
H
A
R
E