【发布时间】:2016-11-30 10:19:42
【问题描述】:
我需要在我的网站中的 iframe 中显示外部安全 https url。 它适用于所有其他浏览器,但不适用于 ie。我尝试了weather.com,它显示但不显示我要加载的网址。
下面是我的 iframecode:
<div>
<iframe id="iframestyle" name="iframe_sch" runat="server" style="margin-top: 0px;
width: 100%; height: 750px; margin-bottom: 0px; position :relative;"
onclick="return iframestyle_onclick()" ></iframe>
</div>
【问题讨论】:
-
它显示在 ie 中,但仅来自某些配置文件,我在 javascript 而不是 html 元素中创建了 iframe。下面是我的代码:
标签: javascript c# html asp.net iframe