I want to drag some elements and drop it in some other containers. The following example works for objects that are both draggable and droppable
/
But when I try to make some of them draggable and others only droppable it doesn't work
/
I know how to use jQueryUI to do this, but I want to do the same using pure HTML5.
I want to drag some elements and drop it in some other containers. The following example works for objects that are both draggable and droppable
http://jsfiddle/AwCuM/
But when I try to make some of them draggable and others only droppable it doesn't work
http://jsfiddle/4adJk/10/
I know how to use jQueryUI to do this, but I want to do the same using pure HTML5.
Share Improve this question asked May 24, 2012 at 16:30 Jader DiasJader Dias 90.7k160 gold badges435 silver badges633 bronze badges 1- I want to achieve the same functionality as shown in the following demo jqueryui./demos/droppable – Jader Dias Commented Jun 5, 2012 at 16:32
1 Answer
Reset to default 3Looking at Mozilla's HTML docs
I found that I need to handle the dragover
event.
The plete solution can be viewed at:
http://jsfiddle/Dema8/7/
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745428643a4627293.html
评论列表(0条)