Is there a simple way to drag a div around the screen and simply
dropping it where it stands.
Top of my head ...
1 - on mouse down record ev.pointer() and ev.findElement('#draggable').
2 - on mouse move move the found element by same amount as mousedown
pointer x/y relative to the mousedown x/y
3 - on mouse up ... nothing
Seems simple enough.
What have I missed?
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at