摘要: 想做一个UI设计的组件,左侧是控件列表,右边是编辑区域,左侧的控件可以重复拖拽到右侧然后进行编辑。效果草图:部分js代码:function domop(){ //set drag and drop $( "#compls .component" ).each( function(){$(this).draggable({ helper:"clone" //revert: 'invalid', //appendTo:"#rightcolumn" });} ); $("#rightcolumn").dr 阅读全文
posted @ 2013-04-10 12:39 CooMark 阅读(1231) 评论(0) 推荐(0)