问题描述
firebug是相当有用的工具,我不能认为自己生活没有它。我也下载了js文件,帮助你获得类似的功能,当使用IE6希望它可以帮助我解决一些问题,但是,我收到的消息不是很友好,如:
或
在第16行没有什么可以期望:期望':'(default2.aspx,16)对象不支持此属性或方法(default2.aspx,198)在第198行没有什么有趣的东西可以要求任何支持。
我的网站看起来像一个不同的网站在IE6 ..大多数CSS不工作,一些jquery功能不工作,我需要得到这个网站工作在IE6。任何帮助将会赞赏;
-
如何知道什么消息(如上面的那些)在IE6和如何有效地调试IE6中的js?
-
我应该为不同的浏览器创建不同的css文件,并通过检测浏览器加载它们?
我失去了,所以请给我任何方向开始..
您在IE6中调试JavaScript: -
网站是用来确定哪些位的CSS是以什么方式通过哪个浏览器实现的。注意IE6标准模式渲染是臭名昭着的。
firebug is quite useful tool that I can't think myself living without it. I also downloaded the js file that helps you get similar functionality when using IE6 hoping it would help me resolve some issues, however, the messages I receive are not quite friendly such as:
"Expected ':' (default2.aspx,16)" - on line 16 there is nothing that can possibly expect a ":"
or
"Object doesn't support this property or method (default2.aspx,198)" on line 198 nothing interesting that can require any support for anything.
my site looks like a different web site in IE6.. most of the css doesnt work, some of the jquery functions doesnt work and I need to get this site work in IE6. Any help would be appreciated in terms of;
how to know what the messages (like the ones above) mean in IE6 and how to effectively debug js in IE6?
where to start for css compatibility.. e.g. shall I create different css files for different browsers and load them by detecting the browser? or are there any common issues and hacks?
I am lost so please give me any direction to start..
You debug javascript in IE6 with:-
The QuirksMode website is useful site to determine which bits of CSS is implemented in what way by which browser. Note IE6 "standards" mode rendering is notoriously buggy.
这篇关于调试IE6的javascript的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!