【问题标题】:iframe does not display secured https url in IE but works in all other browsersiframe 不在 IE 中显示安全的 https url,但适用于所有其他浏览器
【发布时间】: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


【解决方案1】:

这只是一个很长的机会,我也发现自己在最微小的(我应该知道的更好)场景中犯了错误,哈哈。话虽这么说……会是“混合活动”吗?含义....如果您的页面协议是 http 而不是在 iframe 中使用 http 页面。 如果您的页面协议是 https,则在 iframe 中使用 https 页面。 Bc 将两者混合通常会导致不同区域的阻塞。我希望这会有所帮助!

【讨论】:

  • 感谢您的回复,但我需要在 iframe 中显示的页面的 url 不在我的控制范围内,我的意思是它来自第三方供应商根据我的参数显示报告通过,我能做的就是将我的参数传递给 url 以显示它。
猜你喜欢
  • 2015-02-12
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2015-05-05
  • 1970-01-01
  • 2012-11-01
  • 1970-01-01
相关资源
最近更新 更多