【发布时间】:2013-10-02 07:55:35
【问题描述】:
我正在使用 Adobe Edge 构建一个网站,并且我有一些 iframe 可以在我的 index.html 页面上加载其他 html 页面。所有文件都在同一个域中。
不知道为什么,但某些 iframe 内容无法在 Firefox 中正确加载。但是当我刷新 iframe 时它会完美加载,所以我需要 iframe 在加载时自动重新加载(仅一次)。
我在此页面上看到了一个可能的解决方案: How to force an iFrame to reload once it loads
我只是不确定将解决方案脚本放在 adobe edge 的哪个位置。
这是“creationComplete”中每个 iframe 现在的样子:
sym.$("AboutPage").append('<iframe width="100%" height="100%" src="About.html" frameborder="0" scrolling="no"></iframe>');
【问题讨论】:
标签: javascript jquery iframe adobe-edge