iframe自动调整大小 [英] iframe auto resize
本文介绍了iframe自动调整大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我一直在绝望地在网上搜索自动调整iframe大小的方法。我在线尝试了很多脚本,但大多数都收到了拒绝权限的错误。
I have been desperatly searching the web for a way to auto resize an iframe. I have tried many scripts online, but most recieve a permission denied error.
这两个网站都是同一个子域的成员
Both sites are members of the same subdomain
网站1 :(查看iframe)sub.domain.site.ca
网站2:name.site.ca
site 1: (views iframe) sub.domain.site.ca site 2: name.site.ca
这是怎么做的(两者都是是'site.ca'的成员。)
how is this done (both are members of 'site.ca')
推荐答案
我认为这是您正在寻找的确切答案:
I think this is the exact answer you are looking for:
http://ofirpicazo.com/ javascript / iframe-resizing-across-subdomains /
这篇关于iframe自动调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文