Virtualgeoff Drag and Drop Script - with Callbacks
My own version.
Works with position:fixed, absolute and relative. Added callbacks, constaints, min and max values, and snap to grid. Works in IE (finally).
1
position: relative;
(no callback)
2
position: relative;
constain-X
3
position: relative;
constain-Y
min, max
4
position: absolute;
minX, maxY
5
position: absolute;
minX, maxX,
minY, maxY
6
position: fixed;
snapX, snapY
7
position: relative;
8
position: relative;
constain-X
9
position: relative;
constain-Y
min, max
10
position: absolute;
minX, maxY
11
position: absolute;
minX, maxX,
minY, maxY
12
position: fixed;
snapX, snapY