当前位置: 代码迷 >> HTML/CSS >> 小弟我想点链接后,让他在iframe里显示!该如何弄啊50分哦
  详细解决方案

小弟我想点链接后,让他在iframe里显示!该如何弄啊50分哦

热度:197   发布时间:2012-02-23 22:01:34.0
我想点链接后,让他在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 ">
  相关解决方案