用iframe写个例子吧,一样的:
<input type=button value=Open onclick=window.open('about:abc','show')>
<iframe id=show name=show ></iframe>
<input type=button value=Open onclick=window.open('about:abc','show')>
<iframe id=show name=show ></iframe>
<FRAME SRC="about:<input type=button value=test onclick=parent.document.frames[1].location='http://www.csdn.com'>" NAME="">
<FRAME SRC="about:123" NAME="frame2">
</FRAMESET>
<a href="right.asp?id=<%=id%>" target="rightframe">文件名</a>
right.asp
id=request.querystring("id")
sql="select * from 表名 where id="&id
.....
.....