Prototype 1.6.1 on IE8 on Windows XP..

Discovered a weird problem today.

Seems like in a particular configuration, the currently latest version of Prototype library gives problems to users who are using Internet Explorer 8 on Windows XP.

Error message states that Web page has a problem and Internet Explorer had to close its tab.

When running the same page under IE8 on Windows 7, the page loads fine, but with error message which states:

windows-7-x641

Switching IE8 to IE7 compatibility mode fixes the problem on Windows XP and Windows 7 platforms.

In order to do that, just add the following code right under the <head> tag:

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

This will automatically switch IE8 to IE7 rendering mode, and unless your site breaks under IE7, you should be fine with this solution.

Leave a Reply