disk/control/easy_ui/plugins/jquery.window.js
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/**
* jQuery EasyUI 1.3
*
* Licensed under the GPL terms
* To use it on other terms please contact us
*
* Copyright(c) 2009-2012 stworthy [ stworthy@gmail.com ]
*
*/
(function($){
function _1(_2,_3){
var _4=$.data(_2,"window").options;
if(_3){
if(_3.width){
_4.width=_3.width;
}
if(_3.height){
_4.height=_3.height;
}
if(_3.left!=null){
_4.left=_3.left;
}
if(_3.top!=null){
_4.top=_3.top;
}
}
$(_2).panel("resize",_4);
};
function _5(_6,_7){
var _8=$.data(_6,"window");
if(_7){
if(_7.left!=null){
_8.options.left=_7.left;
}
if(_7.top!=null){
_8.options.top=_7.top;
}
}
$(_6).panel("move",_8.options);
if(_8.shadow){
_8.shadow.css({left:_8.options.left,top:_8.options.top});
}
};
function _9(_a){
var _b=$.data(_a,"window");
var _c=$(_a).panel($.extend({},_b.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(_b.options.noheader?"window-body-noheader":""),onBeforeDestroy:function(){
if(_b.options.onBeforeDestroy.call(_a)==false){
return false;
}
if(_b.shadow){
_b.shadow.remove();
}
if(_b.mask){
_b.mask.remove();
}
},onClose:function(){
if(_b.shadow){
_b.shadow.hide();
}
if(_b.mask){
后面还有 202 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
