参考msn的帮助系统,我觉得很爽。

解决方案 »

  1.   

    <<!--
    =>
    <!--
      

  2.   

    to  yjs_lh(长风浪子) ( )
    ----改了一下,还是提示有错误
      

  3.   

    var windowHTML = ...这个写成一行,不能出现回车;要不然这样:
    var windowHTML="<html><head><title>Second Window</title></head>"
                  +"<body> Another window!"
                  +".......";
      

  4.   

    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <title>无标题文档</title>
    <script type="text/javascript">
    <!--
    function createWindow()
    {
      secondwindow = window.open('','example','height=300,width=200,scrollbars=yes');  
      if (secondwindow != null)
        {
          var windowHTML="<html><head><title>Second Window</title></head><body> Another window!<form action='' method='get'><input type='button' value='Set main red' onclick='window.opener.document.bgColor=\"red\";' /><input type='button' value='CLOSE' onclick='self.close();'/></form></body></html>";       secondwindow.document.write(windowHTML);
       secondwindow.document.close();
       
           secondwindow.focus();
       }
      
    }
    //-->
    </script></head><body>
    <form action="#" method="get">
    <input type="button" value=" windows" onclick="createWindow();"/>
    <input type="button" value="set red" onclick="if(window.secondwindow){secondwindow.document.bgColor='red';secondwindow.focus();}"/></form>
    </body>
    </html>
      

  5.   

    yaray(雅睿,生活在别处) ( ) ----OK
     leo963258(读书之人) --------Ok
    但为什么其中不能有回车呢呢?