📄 test.htm
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns:ehfs>
<head>
<title>test page</title>
<link type="text/css" rel="stylesheet" href="../css/control.css">
<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<script language="javascript">
function showNewsWin(){//显示新闻窗口
window.parent.__objGlobalCommonInst.showNewsWin();
}
function hideNewsWin(){//隐藏新闻窗口
window.parent.__objGlobalCommonInst.closeNewsWin();
}
function showInfoWin(){//显示信息窗口
window.parent.__objGlobalCommonInst.showInfoWin();
}
function hideInfoWin(){//隐藏信息窗口
window.parent.__objGlobalCommonInst.closeInfoWin();
}
function loadPage(){
showNewsBtn.bindClick = showNewsWin;
hideNewsBtn.bindClick = hideNewsWin;
showInfoBtn.bindClick = showInfoWin;
hideInfoBtn.bindClick = hideInfoWin;
}
</script>
</head>
<body onload="loadPage()">
<FIELDSET style="position:absolute;top:15;left:40;width:700;height:90;border:solid 1px #cccccc">
<legend id="newsWinControll" style="position:absolute;font-size:9pt;font-weight:bold;font-face:宋体;color:red">新闻窗口控制</legend>
</FIELDSET>
<FIELDSET style="position:absolute;top:130;left:40;width:700;height:90;border:solid 1px #cccccc">
<legend id="infoWinControll" style="position:absolute;font-size:9pt;font-weight:bold;font-face:宋体;color:red">信息窗口控制</legend>
</FIELDSET>
<ehfs:btn id="showNewsBtn" left="60" top="50" width="100" caption="显示新闻窗口" init="0" />
<ehfs:btn id="hideNewsBtn" left="170" top="50" width="100" caption="隐藏新闻窗口" init="0" />
<ehfs:btn id="showInfoBtn" left="60" top="165" width="100" caption="显示信息窗口" init="0" />
<ehfs:btn id="hideInfoBtn" left="170" top="165" width="100" caption="隐藏信息窗口" init="0" />
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -