0

这是 jsfiddle 在我的 IE8 中的样子:

在此处输入图像描述

以及以下js错误:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Mon, 8 Apr 2013 09:49:23 UTC


Message: Expected ':'
Line: 222
Char: 1
Code: 0
URI: http://jsfiddle.net/js/jshint.js?TheBlackKeys


Message: Expected identifier
Line: 105
Char: 25
Code: 0
URI: http://jsfiddle.net/js/EditorCM.js?TheBlackKeys


Message: Object doesn't support this property or method
Line: 24
Char: 5
Code: 0
URI: http://jsfiddle.net/js/heyoffline.js?TheBlackKeys


Message: 'MooShellEditor' is undefined
Line: 91
Char: 7
Code: 0
URI: http://jsfiddle.net/


Message: Object doesn't support this property or method
Line: 7326
Char: 2
Code: 0
URI: http://jsfiddle.net/js/moo-clientcide-1.3.js?TheBlackKeys


Message: 'editor' is null or not an object
Line: 130
Char: 5
Code: 0
URI: http://jsfiddle.net/js/Actions.js?TheBlackKeys
4

3 回答 3

2

jsFiddle 与 IE8 不兼容。对于在不受支持的浏览器下进行测试,我们建议使用“草稿”功能:http ://doc.jsfiddle.net/basic/introduction.html#draft-page

于 2013-04-08T15:22:38.767 回答
1

与您的编程或您正在编码的任何内容无关,这只是http://jsfiddle.net/具有跨浏览器兼容性的一个不好的考虑(在这种情况下是 IEv8)

无论如何,如果您真的需要在 IE8 中进行测试,请在控制台中运行:

document.getElementById('content').style.height = '800px'; 

'800px' 适合您的需求。

于 2013-04-08T10:54:39.203 回答
0

我同意转基因。我在 IE8 上使用 jsFiddle 时遇到问题,需要改用 Chrome。

在 IE8 HereHere上还有几个针对 jsFiddle 的开放错误报告。迄今为止,它们尚未得到解决。

于 2013-04-08T12:04:09.093 回答