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>
调试欢乐多
<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>
<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>