📄 openwnd.js
字号:
<!--
var newwnd=null;
HHEight=window.screen.availHeight;
WWidth=window.screen.availWidth
x=0;
y=0;
if(WWidth >1280) {
x=Math.floor((WWidth - 1280) /2)
WWidth=1280
}
if(HHEight >1024) {
y = Math.floor((HHEight - 1024)/2)
HHEight=1024
}
function OpenWnd(n,u,w,h,x) {
args="width="+w+",height="+h+",resizable=yes,scrollbars=yes,status=no,directories=no,menubar=no";
newwnd=window.open(u,n,args);
if (newwnd != null) {
if (newwnd.opener == null)
newwnd.opener = self;
newwnd.moveTo(x,y);
}
if (x == 1) { return newwnd; }
}
//-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -