开发者

A Good Solution for Drag n Drop

开发者 https://www.devze.com 2023-03-23 04:47 出处:网络
I am looking into solutions for Drag N Drop of items(images, textareas, etc). I need something that will also give the coordinates of the location the item was dropped on screen, saved, and later can

I am looking into solutions for Drag N Drop of items(images, textareas, etc). I need something that will also give the coordinates of the location the item was dropped on screen, saved, and later can be placed in that exact location.

I am looking for an end result of something similar to this: https://gomockingbird.com/mocki开发者_运维问答ngbird/#

So far I have come up two possible solutions:

Cappuccino - http://cappuccino.org/

HTML5

What are other thoughts on either of these solutions and if they know any others that are worth taking a look at?


Take a look at jQuery --> http://jqueryui.com/demos/draggable/#handle


For HTML5's canvas element you can use the fantastic kinetic for all your drag and drop needs. Here's a tutorial to get you started.

0

精彩评论

暂无评论...
验证码 换一张
取 消