我有一个框架,需要从另一个领域显示内容。 这一工作是很出色的,而且我前面的iFrame的顶峰可以静态地确定这一点。
遇到的问题是在不同浏览器中看到iFrame。
因此,例如,我想在iFrame从Wikipedia上展示一页。 这一页顶峰为12725px,因此我可以将iFrame的高度定在12725px。
Viewing this page in Chrome, it fits perfect: http://test.linkinformed.com/temp.html
但是,将同一网页“E”或“IE”,Wikipedia的页面内容也不同,它已不再适合iFrame(即上下页和最后的文章是隐蔽的)。
Given the difficulties in cross-domain iFrame communication, is there a way I can get the Wikipedia content to render identically across browsers? Or is there a way to calibrate or adjust the iFrame height according to browser?