I managed to drag an item inside the same paper. Now I need to be able to drag the raphael element from one paper container to another. Here is an example:
drag from the first svg to the second svg
first svg element in html
<svg style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);" xmlns="http://www.w3.org/2000/svg" version="1.1" width="500" height="260"> <rect style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);" x="10" y="15" width="64" height="64" r="5" rx="5" ry="5" fill="#ffc0cb" stroke="#000"> </rect> </svg>
second svg element in html
<svg style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0);" </svg>
First of all, can this be done? If possible, please let me know how to do this. thanks!
source share