window窗口方式
function winModalFullScreen() {
var sheight = screen.height - 95;}
showModalDialog方式 (此种方式,个人发现打开窗口后,原来那个页面就跟把数据库冻结了似的,不动了,仅个人观点)
function winModalFullScreen() {
var sheight = screen.height - 95;
var swidth = screen.width - 8;
var winoption = "dialogHeight:" + sheight + "px;dialogWidth:" + swidth
+ "px;status:no;scroll:no;center:yes;help=no;";
var NewFull = window.showModalDialog("${CTX_ROOT}/View3d/index.htm",
newwindow, winoption);
return NewFull;
}
调用 <a href="javascript:winModalFullScreen()">