iframe2.location.replace = "iframe2.asp?id=" + YourID

解决方案 »

  1.   

    第一个框架的:
    <iframe src="demo1.htm" width="745"  height="230" scrolling="yes" frameborder="0"></iframe>
    第二个框架:
    <iframe src="demo3.htm" width="745"  height="235" scrolling="yes" frameborder="0"></iframe>请问在那加上去?
      

  2.   

    <td valign="top" width="30%" height="100%"><iframe name="fa" src="a.html" width="100%"></iframe></td>
    <td width="90%" height="70%"><iframe name="fb" src="b.html" width="100%" height="100%"></iframe></td>
    <tr>
    </table>
    </BODY>
    </HTML>
    <script>
    alert(window.parent.frames[0].location = 'http://www.163.com/');
    </script>
      

  3.   

    lantersen,你的代码有问题,一打开网叶就弹出http://www.163.com/对话框了,
    两个框架只显示一个