|
@@ -32,16 +32,19 @@ U.UF.F.windowZooming = function (el) {
|
|
|
_ismax = document.body.offsetHeight == el.offsetHeight && document.body.offsetWidth == el.offsetWidth;
|
|
|
if (_ismax) {
|
|
|
el.style.cssText += "width:70%;height:90%;";
|
|
|
+ U.UF.F.windowTopCenter(el);
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ //设置窗体最大化
|
|
|
+ U.selectEl(el).css({
|
|
|
+ "width": "100%",
|
|
|
+ "height": "100%",
|
|
|
+ "top": "0px",
|
|
|
+ "left": "0px"
|
|
|
+ });
|
|
|
+ el.initcsstext = el.style.cssText; //获取原本的csstext值
|
|
|
+ el.ismaximize = true;
|
|
|
}
|
|
|
- el.initcsstext = el.style.cssText; //获取原本的csstext值
|
|
|
- el.ismaximize = true;
|
|
|
- //设置窗体最大化
|
|
|
- U.selectEl(el).css({
|
|
|
- "width": "100%",
|
|
|
- "height": "100%",
|
|
|
- "top": "0px",
|
|
|
- "left": "0px"
|
|
|
- });
|
|
|
}
|
|
|
//U.MD.F.W.reSize();
|
|
|
}
|