【问题标题】:Why does this iframe display correctly in Chrome but not Internet Explorer?为什么这个 iframe 在 Chrome 而不是 Internet Explorer 中正确显示?
【发布时间】:2018-03-09 14:19:25
【问题描述】:

在 Sharepoint 2010 中,当我使用 Chrome 而不是 IE 11 时,我能够创建一个显示下面 iframe 地图的 Web 部件。我尝试使用内容编辑器 Web 部件和页面查看器 Web 部件,但都不起作用。它只是在底部显示一个带有“可点击地图”链接的空白方块。我认为这是 Sharepoint 的问题,因为下面的页面在 IE 中为我打开,但在使用 IE 的 Sharepoint Web 部件中却没有。但话又说回来,这可能是浏览器问题,因为 Chrome 通过 Sharepoint 完美显示了 Web 部件。有没有办法让地图在 Internet Explorer 中显示?

https://createaclickablemap.com/map.php?&id=64357&maplocation=false&online=true

【问题讨论】:

    标签: html internet-explorer sharepoint sharepoint-2010


    【解决方案1】:

    在 sharepoint masterpages 中有类似 <meta http-equiv="X-UA-Compatible" content="IE=8" /> 的内容,它告诉 Internet Explorer 呈现页面,就像您使用 Internet Explorer 8 查看页面一样。因此,即使您使用的是 IE11,浏览器仍然使用旧的引擎。

    也许this link 会有所帮助,因为这听起来像是一个相关的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-11-18
      • 1970-01-01
      • 2013-04-30
      • 2013-08-20
      • 2011-11-29
      • 1970-01-01
      • 2020-10-02
      • 2021-12-11
      相关资源
      最近更新 更多