日期:2014-05-17  浏览次数:20647 次

我想点链接后,让他在iframe里显示!该怎么弄啊!50分哦!
我想点链接后,让他在iframe里显示!该怎么弄啊!

<html>
<body>
<a   href= "1.html "> page1 </a> <br/>
<a   href= "2.html "> page2 </a> <br/>
<a   href= "3.html "> page3 </a> <br/>
<a   href= "4.html "> 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>

------解决方案--------------------
target=top或self
------解决方案--------------------
<a target= "iframe_name ">