<frameset cols="50%,*">
<frame id=frm1 src=frm1.htm>
<frame id=frm2 src=frm2.htm>
</frameset>frm1.htm
<a href='javascript:parent.frm2.location.href="a2.htm"'>a2</a>再加其他框架同理

解决方案 »

  1.   

    <a href ="#" onclick = "aa()">aaa</a>
    <script>
    function aa()
    {
      parent.frames("leftframe").document.all.text1.value = "asdfa";
      parent.frames("rightframe").location.href= "bb.asp";
    }
    </script>
      

  2.   

    main.htm:
    <frameset rows="20%,*">
        <frame id=frm1 src=1.htm>
        <frameset cols="20%,*">
         <frame id=frm2 src=2.htm>
        <frame id=frm3 src=3.htm>
        <frameset>
    </frameset>
    1.htm:
    <input type=button value=go onclick='top.frm2.location.href="123.htm";top.frm3.location.href="321.htm";'>