php - 页面未加载到 IE11 的 iframe 中

标签 php jquery html

我有以下代码。我想在 iframe 中加载页面。但它只显示加载到 iframe 中。我只在 IE 11 中遇到这个问题。在所有浏览器中它都工作正常。

<iframe src="https://docs.google.com/viewer?url=http://localhost/test_energy/img/Sample.pdf&embedded=true" width="570" height="300" style="border: none;">
</iframe>

最佳答案

尝试:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE11"/> 

关于php - 页面未加载到 IE11 的 iframe 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21695191/

相关文章:

php - 计算出勤时间戳2

javascript - PHP 表单不会提交到基于 javascript 的 MYSQL 数据库

php - Silex 2 addListener 触发错误

javascript - 在表单加载时禁用 DiV,并使用 Jquery 在按钮 Click 上启用 DIV

jquery - CORS 预检未返回

javascript - 使用 jQuery 的 .show() 显示内容时遇到问题

javascript - 微软翻译器 AJAX API,下拉更改 languageTo 和 languageFrom?

php - 创建时为 div 分配唯一 ID,然后使用 jquery 引用

html - <pre> 上的 WebKit 垂直滚动条问题

javascript - 当键有多个条目时,如何处理二维数组搜索?