xhtml

크롬 프레임 권고창

aneyh.c 2012. 2. 16. 17:02
IE6 사용자에게 크롬 설치하라고 권고하는 창 띄우기

<head> 태그 아래에 삽입
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>

 
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
     chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7 ]>
  <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
  <script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<![endif]-->
</body> 태그 닫기 전에 삽입