dragger.js can make a div (background or not), a span (editable or not) or an img, resizable and movable inside its parent. You can define different options about the movement and the resizing of the element as you can see in the "How To" section. Hover over the element to grab it and drag it around. Grab its bottom right corner to resize it.You can switch on/off the drag/resize functionality of the element at any time. If the element passed to the function contains other elements, the functionality will be not be applied to the elment itself but to all the children of that element