自动新打开一个固定尺寸大小的网页然后自动关闭
<方法1>---------------------------------------------------------------------
<script>
window.open("http://localhost/mycode/soft/soft01/login.htm", "newwindow", "height=200, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")
window.opener=null
window.close()
</script>
<方法2>----------------------------------------------------------------------
<html>
<head>
<script LANGUAGE="javascript">
function openwin() {
window.open ("http://www.163.com", "newwindow", "height=300, width=300, toolbar =no, menubar=no, scrollbars=no, resizable=no, location=no, status=no")
}
</script>
</head>
<body onload="openwin()">
</body>
</html>
<方法3>----------------------------------------------------------------------
<body onload="top.resizeTo(300,200);top.moveBy(300,200);">
改变IE标题栏图标
<link rel="icon" href="http://localhost/mycode/soft/soft01/icon/host.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://localhost/mycode/soft/soft01/icon/host.ico" type="image/x-icon" />