Automatically opens a fixed-size webpage and closes it automatically.
<Method 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>
<Method 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>
<Method 3> ----------------------------------------------------------------------
<Body onload = "Top. resizeTo (300,200); top. moveBy (300,200);">
Change the IE title bar icon
<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"/>