<html>
<body>
<a href= "1.html " target= "iFrame1 "> page1 </a> <br/>
<a href= "2.html " target= "iFrame1 "> page2 </a> <br/>
<a href= "3.html " target= "iFrame1 "> page3 </a> <br/>
<a href= "4.html " target= "iFrame1 "> page4 </a> <br/>
<div id= "iFrame1 " style= "position:absolute; left:220px; top:200px; z-index:18 ">
<iframe name= "iFrame1 " width=542 height=615 src= "1.html " scrolling= "auto " frameborder= "0 "> </iframe>
</div>
</div> </body>
</html>
主要是在iframe里定义name=XXX ,然后在href里用 target调target=XXX 。