IE4.0では動作しません。
<FORM METHOD="post"> <INPUT TYPE="button" VALUE="new window!" ONCLICK="newwindow()"> </FORM> <SCRIPT LANGUAGE="JavaScript"> function newwindow() { nwin = window.open("", "Newwindow","width=280,height=480"); nwin.document.open(); nwin.document.write("<HTML><HEAD>"); nwin.document.write("<TITLE>New one</TITLE>"); nwin.document.writeln("<BODY>"); nwin.document.write("This is new one. Written in HTML."); nwin.document.write("<IMG SRC="http://www.ueda.info.waseda.ac.jp/~gaku/js/latour.gif">); nwin.document.write("</BODY></HTML>"); nwin.document.close(); } </SCRIPT>
新しく開かれたウィンドウからの参照<IMG>などは、絶対URLで書かなければ いけないようです。
MSIE4.0で動作させようとすると、nwin.document.write()の部分で スクリプトエラーが発生します。