0

我正在尝试制作一个 4 节 iframe 页面。我已经想出了如何将网页嵌入到其中一个框架中。但是现在,我正在尝试找到一种方法来打开指向同一页面上不同 iframe 的链接。

例如,我们有管理部分,我们可以单击链接查看完整报告。我试图让这份报告显示在不同的 iframe 中,而不是通过链接将我发送到不同的页面。我知道有些东西叫做锚点,但我不确定如何使用它们。下面是我目前拥有的代码。提前感谢您的帮助。

<body>
<table width="547" height="397" border="1" cellpadding="2" cellspacing="1">
  <tr>
    <td><iframe height="410" width="100%" frameBorder="0" src="http://www.mypage.com" iframe name="topl_frame" id="topl_frame" target="bottoml_frame">your browser does not support IFRAMEs</iframe>   
</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><iframe height="410" width="100%" frameBorder="0" src=""     name="bottoml_frame">your browser does not support IFRAMEs</iframe></td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
4

0 回答 0