1

我想在 IE 旧版本上支持媒体查询,我下载了respond.js库,我尝试运行他们提供的测试示例,但在 IE 旧版本中出现此错误

Message: Access is denied.

Line: 287
Char: 4
Code: 0

顺便说一句,我没有使用缩小版!

4

1 回答 1

3

即使我在尝试直接从文件夹中打开“test.html”时也遇到了问题:

file:///C:/Respond-master/test/test.html

当我将文件放在本地服务器并从浏览器打开它时得到修复:

http://localhost/Respond-master/test/test.html
于 2012-12-18T13:35:25.210 回答