[英]Why does this iframe display correctly in Chrome but not Internet Explorer?
In Sharepoint 2010, I am able to create a web part that displays the iframe map below when I use Chrome, but not IE 11. I tried using the Content Editor web part and the Page Viewer web part, but neither worked.在 Sharepoint 2010 中,当我使用 Chrome 而不是 IE 11 时,我能够创建一个显示下面 iframe 映射的 Web 部件。我尝试使用内容编辑器 Web 部件和页面查看器 Web 部件,但都没有奏效。 It just displayed a blank square with a "Clickable Map" link at the bottom.它只是在底部显示一个带有“可点击地图”链接的空白方块。 I think it's an issue with Sharepoint because the page below opens for me in IE, but not in the Sharepoint web part using IE.我认为这是 Sharepoint 的一个问题,因为下面的页面在 IE 中为我打开,但不是在使用 IE 的 Sharepoint Web 部件中。 But then again, it might be a browser issue because Chrome displays the web part perfectly via Sharepoint.但话又说回来,这可能是浏览器问题,因为 Chrome 通过 Sharepoint 完美地显示了 Web 部件。 Is there a way to get the map to display in internet explorer?有没有办法让地图显示在 Internet Explorer 中?
https://createaclickablemap.com/map.php?&id=64357&maplocation=false&online=true https://createaclickablemap.com/map.php?&id=64357&maplocation=false&online=true
In sharepoint masterpages there is something like this <meta http-equiv="X-UA-Compatible" content="IE=8" />
which tells the internet explorer to render the page like you are viewing the page with an internet explorer 8. So even if you are using an IE11, the browser still uses the old engine.在 sharepoint masterpages 中有这样的东西<meta http-equiv="X-UA-Compatible" content="IE=8" />
它告诉 Internet Explorer 呈现页面,就像您正在使用 Internet Explorer 查看页面一样 8所以即使你使用的是IE11,浏览器仍然使用旧引擎。
Maybe this link will help since it sounds like a related question.也许这个链接会有所帮助,因为它听起来像是一个相关的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.