📄 opennew.js
字号:
function opennew(newurl,windowName,width,height)
{
var theLeft,theTop
theLeft = (screen.width-width)/2-2
theTop = (screen.height-height)/2
//window.open(newurl,windowName,'width = '+width+',height = '+height+',scrollbars = 1,left = '+theLeft+',top = '+theTop+'').focus();
window.open(newurl,windowName,'width = '+width+',height = '+height+',scrollbars = 1,status = 0,toolbar = 0,resizable = 0,left = '+theLeft+',top = '+theTop+'').focus();
//return true;
}
function opennewfull(newurl,windowName)
{
window.open(newurl,windowName,'width = '+screen.width+',height = '+(screen.height-55)+',scrollbars = 1,toolbar = 0,resizable = 0,left = 0,top = 0').focus();
}
function openModal(newUrl,windowName,width,height,controlName){
controlName.value = showModalDialog(newUrl,windowName,"dialogWidth:"+width+";dialogHeight:"+height+";center:1")
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -