在左边窗口的 <head></head>之间加上 
<base target="右边框架的ID">

解决方案 »

  1.   

    不行啊 我试过了 不过还是谢谢你 “My97(My97)”
      

  2.   

    <a href=“example1.htm” target=“_blank“>this is a link</a>在新的窗口打开。target=框架名称:在指定框架打开
    target=_self:在本框架页面打开
    target=_top:跳出框架在本页面打开
    target=_top="_blank" 在新窗口打开
      

  3.   

    ---example.html----
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><frameset rows="*" cols="184*,798*" framespacing="0" frameborder="no" border="1">
      <frame src="left.html" name="leftFrame" id="leftFrame" title="left" />
      <frame src="right.html" name="mainFrame" id="mainFrame" title="right" />
    </frameset>
    <noframes><body>
    </body>
    </noframes></html>-------left.html----
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    </head><body bgcolor="#FFFFCC">
    <p><a href="example1.htm" target="mainFrame">example1.htm</a></p>
    <p><a href="example2.htm" target="mainFrame">example2.htm</a></p>
    <p><a href="example3.htm" target="mainFrame">example3.htm</a></p>
    <p><a href="example4.htm" target="mainFrame">example4.htm</a></p>
    <p><a href="example5.htm" target="mainFrame">example5.htm</a></p>
    <p><a href="example6.htm" target="mainFrame">example6.htm</a></p>
    <p><a href="example7.htm" target="mainFrame">example7.htm</a></p>
    <p><a href="example8.htm" target="mainFrame">example8.htm</a></p>
    <p><a href="right.html" target="mainFrame">HOME</a></p>
    <p><a href="right.html" target="_self">target=_self</a></p>
    <p><a href="right.html" target="_top">target=_top</a></p>
    </body>
    </html>------right.html---------
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>无标题文档</title>
    <style type="text/css">
    <!--
    .STYLE1 {
    font-size: 36px;
    font-family: "宋体";
    color: #FF0000;
    font-weight: bold;
    }
    -->
    </style>
    </head><body>
    <div align="center" class="STYLE1">Welcome</div>
    </body>
    </html>
      

  4.   

    <frame src="left.html" name="leftFrame" id="leftFrame" title="left" />
      <frame src="right.html" name="mainFrame" id="mainFrame" title="right" />这里定义了框架的名字
      

  5.   

    首先谢谢“xiao7cn(烧鸡) ”的帮忙!
    “<p><a href="example1.htm" target="mainFrame">example1.htm</a></p>“假如在example1.htm中还有很多链接地址,这些地址中有可能的target值不是我想指定的窗口,但是我又不能改变这个网页中的target,请问这样的情况下我怎样才能将exampli.htm中的子链接出现的窗口也显示在右边的框架窗口中呢?
      谢谢,请高手再帮一下忙。