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

怎么样隐藏iframe
网页上嵌套了一个 iframe 怎么样隐藏这个iframe 就像隐藏控件一样

------解决方案--------------------
<iframe id = kk name= "I1 " border= "1 " frameborder= "1 " width= "100 " height= "100 " style= "display :none "> </iframe> ---- 隐藏 

<iframe id = kk name= "I1 " border= "1 " frameborder= "1 " width= "100 " height= "100 " style= "display :block "> </iframe> ---- 显示 

------解决方案--------------------

HTML code

<iframe id="XX" runat="server" src='http://www.dtan.so'> 
        
</iframe>