📄 newpostwin.js
字号:
<!--
HHEight=window.screen.availHeight;
WWidth=window.screen.availWidth
x=0;
y=0;
if(WWidth >600) {
x=Math.floor((WWidth - 600) /2)
WWidth=600
}
if(HHEight >500) {
y = Math.floor((HHEight - 500)/2)
HHEight=500
}
function addPost() {
post = window.open ('add_user.asp', 'NewpostWin','scrollbars=no,status=no,width=226,height=150');
post.moveTo(x,y);
}
function editPost() {
post = window.open ('edit_user.asp', 'NewpostWin','scrollbars=no,status=no,width=380,height=198');
post.moveTo(x,y);
}
function delPost() {
post = window.open ('del_user.asp', 'NewpostWin','scrollbars=no,status=no,width=226,height=158');
post.moveTo(x,y);
}
function checkPost() {
post = window.open ('check_user.asp', 'NewpostWin','scrollbars=no,status=no,width=226,height=163');
post.moveTo(x,y);
}
//-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -