HTML5 Drag with contents -
i want utilize html5 native drag. want drag item contents.
for example:
<div draggable="true"> <div> 1 </div> <div> 2 </div> <div> 3 </div> </div>
this drag containing div empty.
how can tell drag div of contents?
you can utilize j query ui draggable instead of html5 dragable. easy utilize , can find many options in these library.
find illustration here http://jqueryui.com/draggable/
html5 drag-and-drop draggable
No comments:
Post a Comment