[英]IE Conditional Comment Issue
在新的應用程序上,我們已決定不再支持IE6,因此我們有條件注釋來加載腳本,該腳本應盡可能多地顯示。
代碼是:
<!--[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]-->
但是,對於一家公司,盡管使用了IE7和IE8,但該評論仍然有效。
這是訪問日志,其中出於隱私目的刪除了信息。
10.xxx.xx.xx--[15 / Aug / 2011:17:18:54 -0500]“ GET /broker/js/ie6.js HTTP / 1.1” 200147“ https://xx.xxxxx.com / broker / registration“” Mozilla / 4.0(兼容; 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)“” zh-CN“
有任何想法嗎??
安迪
IE 7/8可能使用IE6 “兼容模式” ?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.