打开窗口,全屏显示
function OpenCheck(Serial){
var returnValue = ShowWindowLarge('Maintain.aspx?ID=' + Serial , "Edit", false, "");
if (returnValue){
RefreshMyself();
}
return false;
}
function ShowWindowLarge(TargetPage, targetName, isDialog, dlgArg) {
if (isDialog == null) { isDialog = false; }
if (!isDialog) {
var myheight = screen.height - 60;
var mywidth = screen.width - 10;
var wsize = "left=0,top=0,height=" + myheight + ",width=" + mywidth + ",";
return window.open(TargetPage, targetName, wsize + "status= Yes,
titlebar = no,resizable= Yes,status= No,scrollbars=yes");
}
else {
return ShowWindow(TargetPage, 1024, 768, dlgArg, !isDialog, false, targetName)
};