📄 打开于关闭窗口.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title><script language =javascript >
function openwin()
{
newwin=window.open('计算是否是闰年.htm','login','location=no,toolbar=no,status=yes,resizable=no,scrollbars=no,menubar=no,directories=no')
newwin.moveTo(-3,-3);
newwin.resizeTo(screen.availWidth+6, screen.availHeight+6);
}
</script>
新窗口代码
<script language =javascript >
function CloseOld()
{
window.opener.opener=null;
window.opener.close();
}
CloseOld();
</script>
</head>
<body>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -