<OBJECT id=closes type="application/x-oleobject classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11">
<param name="Command" value="Close">
</object>
<input type="button" value="点击我关闭窗口" onclick="closes.Click();">
<param name="Command" value="Close">
</object>
<input type="button" value="点击我关闭窗口" onclick="closes.Click();">
opener=null;
window.open();
close();
</script>
function close()
{
window.opener=null;
window.close();
}
</script>
----------------------------------------------------------------
<iframe src="b.html"></iframe>b.html
----------------------------------------------------------------
<script>
(top.opener=top).close();
</script>
<param name="Command" value="Close">
</object>
<input type="button" value="µã»÷Îҹرմ°¿Ú" onclick="closes.Click();">
<!-- IE5.5以上不会有弹出提示 -->上面说的关闭网页控件在新版的IE6及打过SP3的win2000里已经被禁止