在iframe中显示之前编辑页面

时间:2014-08-29 16:03:11

标签: javascript jquery html iframe

可以从iFrame中的html页面中删除div。 在下面的代码中,我们获取html页面并在iframe中显示。我可以从下面的html页面中删除。

<script type="text/javascript"> (function(){ document.write(['<iframe name="myfxbook_market" width="100%" height=' + height + ' frameborder="0" allowtransparency="true" hspace="0" vspace="0" marginheight="0" marginwidth="0" src=' + "http://widgets.myfxbook.com/widgets/calendar.html"+ps+"></iframe>"].join('')); }()); </script>"

或者在显示之前还有其他方法可以编辑此页面吗? 谢谢你的帮助。

1 个答案:

答案 0 :(得分:0)

  

不幸的是,你不允许与其他人一起使用iframe   位点。

     

但是,您可以将其放在页面其余部分后面的大型iframe中   使用z-index css和更多CSS。

看看这个; jQuery/JavaScript: accessing contents of an iframe

相关问题