use target, it is simpler

解决方案 »

  1.   

    在左边的iframe里加上<base target="右边窗口的名字">
      

  2.   

    <a href="url" target="myiframe">click</a>
    <iframe id="myiframe" name="myiframe" src=""></iframe>
      

  3.   

    <table width="75%" border="0">
      <tr>
        <td width="34%"><table width="60%" border="0">
            <tr> 
              <td><a href="1.asp?qq=001">001</a></td>
            </tr>
            <tr>
              <td><a href="1.asp?qq=002">002</a></td>
            </tr>
            <tr>
              <td><a href="1.asp?qq=003">003</a></td>
            </tr>
          </table></td>
        <td width="66%"><iframe id=hello src="<%if request("qq")="" then%>001.htm <%else%>  <%=request("qq")%>.htm  <%end if %>"></iframe></td>
      </tr>
    </table>
      

  4.   

    <a href="" target=frame名>
      

  5.   

    可以用iframe实现,下面是一个例子:
    在body中有一个<iframe name=a src=""></iframe>
    可以用self.frames["a"].location.href=URL 
    如果是在body中的另一个iframe中的话要用
    parent.frames{"a"].location.href=URL;
      

  6.   

    <iframe id=hello frameborder="0"src="xxxx.asp"></iframe>//隐藏边框
      

  7.   

    当然可以了,把你左边的连接写成:
    <a onclick="javascript:window.all.iframename.src='xxxx.asp?id=<%=aaaa%>';" style="cursor:hand;">在右边iframe中显示内容</a>