最大化窗口:
<OBJECT id="max" type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<PARAM name="Command" value="Maximize"></OBJECT>
<a href="#1" οnclick="max.Click()">最大化</a>
最小化窗口:
<object id=minimize type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Minimize"></object>
<a href="#1" οnclick="minimize.Click()">最小化</a>
关闭窗口:
<a href="javascript:window.close()">关闭窗口</a>
<a href="javascript:window.top.close()">关闭窗口</a>框架关闭
<a href="javascript:self.top.close()">关闭窗口</a>框架关闭
<a href="javascript:parent.close()">关闭窗口</a>框架关闭
无提示关闭窗口,把如下代码加入<body>区域中
<OBJECT id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Close">
</object>
<script language="javascript">function shutwin(){closes.Click();return;}</script>
<a href="javascript:shutwin();">关闭本窗口</a>
简单的无提示关闭窗口代码:
<input type="button" onClick="window.opener = 'xxx';window.close();"
value="IE6最简单的无提示关闭窗口" >