This is an example of one might implement a drag handler with MochiKit’s Signal.
For a detailed description of what happens under the hood, check out draggable.js.
View Source: [ index.html | draggable.js | draggable.css ]