/ / IE Conditional Comment Issue - html, internet-explorer-8, internet-explorer-7, internet-explorer-6, komentarze warunkowe

Problem z komentarzem warunkowym IE - html, internet-explorer-8, internet-explorer-7, Internet-explorer-6, komentarze warunkowe

W nowej aplikacji podjęliśmy decyzję o nieobsługiwaniu IE6, więc mamy komentarz warunkowy, aby załadować skrypt, który mówi tyle samo.

Kod to:

<!--[if lt IE 7]>
<h2 style="color:red;">Old Version of Internet Explorer Detected</h2>
<p style="color:red;">It appears that you"re using an old version of Microsoft
Internet Explorer.  This site is optimized for Internet Explorer
7 and above as well as Mozilla Firefox.  Please download a
newer version of <a href="https://www.microsoft.com/windows/Internet-explorer/default.aspx">
Internet Explorer</a> or <a href="https://www.mozilla.com/firefox/">Firefox</a>
before continuing.
</p>
<![endif]-->

Jednak dla jednej firmy komentarz wystrzeliwuje pomimo użycia IE7 i IE8.

Oto dziennik dostępu z informacjami usuniętymi w celu zachowania prywatności.

10.xxx.xx.xx - - [15 / Aug / 2011: 17: 18: 54 -0500] „GET /broker/js/ie6.js HTTP / 1.1” 200 147 ”https://xx.xxxxx.com / broker / registration "" Mozilla / 4.0 (kompatybilny; MSIE 7.0; Windows NT 5.1; Trident / 4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E) „„ en-us ”

Jakieś pomysły??

Andy

Odpowiedzi:

0 dla odpowiedzi № 1

IE 7/8 może korzystać z IE6 "tryb zgodności"?