开发者

How can I drag an image to another position within a DIV (Similar to Facebook's album management)

FOR EXAMPLE: i have 2 pics: pic 1, pic 2. now i want to drag pic 2 in front of pic 1: pic 2, pic 1. so how can 开发者_JAVA技巧i do it? and if its possible please attachs some code. thankful for your answer.


Yes, I guess sortable is best suitable for you. You can also review drag and drop functionality too.

Have a look on demo

http://jqueryui.com/demos/sortable/


You could start with the jQuery UI Sortable framework.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜