drop from one canvas to another

I've a problem from past few days. I'm new to HTML5, and I'm trying to do a drag-drop of multiple images from one canvas to another canvas and vice-versa.

I have looked upon multiple links but none have helped so far, mostly because those links have only one canvas for drag-drop in only that canvas.

Like this link: http://simonsarris.com/blog/225-canvas-selecting-resizing-shape

But I want something like this in HTML5: http://www.w3schools.com/html/html5_draganddrop.asp


You cannot drag-drop from one canvas to another. The SVG objects are bound to their parent canvas container.

But if what you want to do something that CSS can do for your graphical needs, then I can recommend you this: http://www.html5rocks.com/en/tutorials/dnd/basics/

链接地址: http://www.djcxy.com/p/63972.html

上一篇: Html5在Firefox中拖放鼠标位置

下一篇: 从一个画布下降到另一个画布