1. 首页
  2. 数据库
  3. 其它
  4. jQuery窗口拖动功能的实现代码

jQuery窗口拖动功能的实现代码

上传者: 2020-12-31 09:38:29上传 PDF文件 55KB 热度 18次
具体代码如下所示: $("#showTitle").mousedown(function (e) { vbool = true; vHeight = e.pageY; vWidth = e.pageX; cHeight = vHeight - $("#show").offset().top; cWdith = vWidth - $("#show").offset().left; //alert("divshow" + $("#show").offset().top + " divvHeight" + vHeight);
下载地址
用户评论