This is just a simple script that
makes any HTML element draggable, even this message.
Try it with
these other images too.
Generic Dragging Script - With Snap-to
Feature
Easy to integrate,
cross-browser script enabling mouse dragging functionality for many HTML
elements. Now, you can activate a "snap-to" feature which will snap the elements
to an invisible grid.
The snapto grid spacing is controlled by a
variable in the js file called dO.snapthresh, which is
currently set to 20, but can be set to any value you want.
Currently,
snapto is enable, but you can disable it by using a link (which calls a
function) to toggle snapto mode.
The
variable that enables or disables this mode is called dO.snapto In the js file, set this value to true to have snapto enabled by default, false to disable it by default.