开发者

dragging "Div" issue

How can we make a div movable from here to there. I tried using JQuery Drag, Drop & sortable kind of things but my requirements is not fulfilling.

I have a plenty of DIVs on the page and i need to drag & drop a DIV_1 onto DIV_2,then DIV_2 should be adjust/set in place开发者_开发知识库 of DIV_1. Such drag n drop kind of things works when i have very few DIV but it doesn't work when i have many DIVs inside differnt ROW(div) & COLOUMN(div).

Does anybody tell me?


You've got to use jQuery Draggable & Droppable ... programming it yourself might be a bigger pill than you'd want to swallow.

http://jqueryui.com/demos/draggable/

http://jqueryui.com/demos/droppable/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜