Results 1 to 4 of 4
Mar 27, 2007, 11:04 #1
- Join Date
- Mar 2007
- 0 Post(s)
- 0 Thread(s)
Drag'n'Drop only within defined area (script.aculo.us/Prototype)
I am looking for a solution for an unelegant "problem".
I want do drag and drop some elements (span, div, input etc.) within a defined "frame" - let's say a parent div that is 300px in width and 300px in height.
If the dragged element hits the border the dragging should stop.
Has anybody found a solution for this?
If not I will have to go the ugly way and check the element when it is dropped and send it to the right place.
Thanks in advance for any replies.