到我的主页 http://263.csdn.net/edyang/ 下载 HTML Miscellaneous Test。

解决方案 »

  1.   

    browse the new_page1.htm
    ------------------------------------------------------------------------------
    type new_page1.htm:<html><head>
    <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title>
    </head><frameset rows="*,*">
      <frame name="top" src="new_page2.htm">
      <frame name="bottom" src="new_page3.htm">
      <noframes>
      <body>  <p>此网页使用了框架,但您的浏览器不支持框架。</p>  </body>
      </noframes>
    </frameset></html>
    ------------------------------------------------------------------------------
    type new_page2.htm:<html><head>
    <meta http-equiv="Content-Language" content="zh-cn">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 2</title>
    </head><script ID="clientEventHandlersJS" LANGUAGE="javascript">
    <!--var pParent;pParent = window.parent;
    function Ademo_click()
    {
     
    pParent.frames("bottom").document.all("txt1").value = "demo";
    return false; //if you want the hyperlink work , return true instead!
    }//-->
    </script>
    <body><p><a href="http://expert.csdn.net" id =Ademo LANGUAGE=javascript onclick="return Ademo_click()" >&nbsp; please click me!</a></p> </body></html>------------------------------------------------------------------------------
    type new_page3.htm:<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 3</title>
    </head><body><input id=txt1 type="text" name="T1" size="20">
    </body></html>