开发者

jQuery and IE8 compatibility view

While doing a front-end javacript performance test on a site I'm developing, I'm finding on IE8 standards mode everything runs ridiculously slow. But if I flip compatibility view on, it runs very well - the animations are much smoother.

Unfortunately I cannot upload a link to show, but one of the plugins I'm using is a magnifier: http://www.huydinh.co.uk/demo/magnifier/

Toggle between compat开发者_如何学Cibility mode, and move cursor around.

I also tried adding the EmulateIE7 meta tag, but it made no difference. Has anyone encountered this before? Is there a way to fix it?

Please help! Thanks.


Preferably you could get the site to work with reasonable perf in IE8 Standards mode. Have you tried forcing compatibility mode as documented here?

Link

One way (as noted in the article above) is to include the following <meta> tag right after the <head>:

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


I've run into this problem before and fixed it by making adding a correct doctype and fixing all my page errors in the html validator: validator.w3.org May not be what you're looking for but it's good practice anyways.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜