EasyUI 拖拽
来源:互联网 发布:网易公开课优缺点知乎 编辑:程序博客网 时间:2024/05/29 09:25
拖拽
$(divListItem).draggable({ revert:true, proxy:'clone', onStartDrag: function () { $(this).draggable('options').cursor = 'not-allowed'; var proxy = $(this).draggable('proxy').css('z-index', 10); proxy.hide(); setTimeout(function(){ proxy.show(); }, 100); }, onDrag: function(){ $(this).draggable('proxy').show(); }, onStopDrag: function () { $(this).draggable('options').cursor = 'move'; } });
放置
$('.div_Polling_list').droppable({ //放置 onDragEnter:function(e,source){ $(source).draggable('options').cursor='auto'; }, onDragLeave:function(e,source){ $(source).draggable('options').cursor='not-allowed'; }, onDrop:function(e,source){ var epid = $(source).attr('no'); var meetName = $(source).find('.div_list_item_name').html(); var meet164 = $(source).find('.div_list_item_number').html(); var meetIp = $(source).find('.div_list_item_ip').html(); var itemClass = $(source).find('.div_list_item_img').attr("class"); if(itemClass.indexOf("watch") > -1){ addConftempMeetListItem("pollinglist", epid, meetName, meet164, meetIp, "", "2"); } else{ addConftempMeetListItem("pollinglist", epid, meetName, meet164, meetIp, "", "1"); } } });
0 0
- EasyUI 拖拽
- easyUI
- EasyUI
- Easyui
- EasyUI
- easyUI
- EasyUI
- easyUI
- easyUI
- easyui
- easyui
- Easyui
- EasyUI
- easyUI
- easyUI
- easyui
- easyui
- easyui
- 最短路径——Dijkstra
- 在Windows server 2016上安装LR遇到的问题解决分享
- Bmob后端云的使用
- 红黑树详解
- 从XML创建SqlSessionFactory实例
- EasyUI 拖拽
- nginx配置ssl单向验证
- Nginx安装lua-nginx-module模块
- android studio获取SHA1或MD5
- Nginx访问PHP文件的File not found错误处理,两种情况
- yocto的一些命令记录:
- jQuery ajax 提交表单数据的方法
- Spring boot快捷构建spring web项目
- 夫妻相问题