you need to use javascript, for example<a href="http://www.cnn.com" onclick="parent.frames['topFrame'].location.href=this.href;parent.frames['mainFrame'].location.href=this.href;return false">cnn</a>

解决方案 »

  1.   

    for不同的内容, 
    <a href="http://www.cnn.com" onclick="parent.frames['topFrame'].location.href='a.html';parent.frames['mainFrame'].location.href='b.html'; return false">cnn</a>
      

  2.   

    也可以这样:
    <a id="_1" style="display:none;" href="1.htm" target="topframe">dfkds</a>
    <a id="_2" style="display:none;" href="2.htm" target="mainframe">dfkds</a>
    <div style="cursor:hand;" onclick="JavaScript:{_1.click();_2.click();}">click</div>
      

  3.   

    <a href="http://www.csdn.net" target=topframe onclick="parent.frames['mainFrame'].location.href='http://mail.sina.com.cn'">利用target+onclick</a>
      

  4.   

    <a target="framename">top.framename.***