• IE浏览器版本判断 HTML代码


    <!--[if IE 6.0]>
              <div id="noie6" style="z-index: 20002;border: 1px solid #F7941D; background: #FEEFDA; text-align: center; clear: both; margin:15px auto; 800px;top:200px; position: absolute; font-size: 13px;">
                <div style=" 660px; margin: 0 auto; text-align: left; padding:10px 0; overflow: hidden; color: black;">
                  <div style=" 75px; float: left;"><img src="/template/fzuyiban/img/ie6nomore/ie6nomore-warning.png" alt="Warning!" /></div>
                  <div style=" 360px; float: left; font-family: Arial, SimSun, sans-serif;">
                    <div style="font-size: 14px; font-weight: bold; margin-top: 12px;">你的操作系统自带的浏览器版本过低!</div>
                    <div style="font-size: 12px; margin-top: 6px; line-height: 16px;">XP所带的IE6是10年前的软件了,为了得到更好的操作体验和安全性,请你下载安装以下浏览器使用本平台 :</div>
                  </div>          
                  <div style=" 75px; float: left;"><a href="http://download.digi.tech.qq.com/soft/1/2/82592/index.shtml"><img src="/template/fzuyiban/img/ie6nomore/ie6nomore-firefox.jpg" style="border: none;" alt="下载稳定快速的 Firefox 浏览器"/></a></div>
                  <div style=" 75px; float: left;"><a href="http://download.digi.tech.qq.com/soft/1/2/45974/index.shtml"><img src="/template/fzuyiban/img/ie6nomore/ie6nomore-chrome.jpg" style="border: none;" alt="Google 研发的 Chrome 浏览器"/></a></div>
                  <div style=" 75px; float: left;"><a href="http://download.digi.tech.qq.com/soft/1/2/41498/index.shtml"><img src="/template/fzuyiban/img/ie6nomore/ie6nomore-safari.jpg" style="border: none;" alt="苹果公司的 Safari 浏览器!与 iPAD 一样的效果"/></a></div>
                  <div><strong style="color:red;">注意</strong>:如果你正在使用的是<strong>360极速浏览器</strong>,<strong>搜狗高速浏览器</strong>,<strong>QQ高速浏览器</strong>等<em>双核</em>浏览器,请在地址栏右边将内核切换到极速(高速)模式即可使用本平台。</div>
                </div>
         <div style="display:none;">
            <script src="http://v1.cnzz.com/z_stat.php?id=1000411429&web_id=1000411429" language="JavaScript"></script>
         </div>
              </div>
              <script type="text/javascript">
                document.getElementById("noie6").style.left = (document.body.clientWidth - 800) / 2;;
                var head=document.getElementsByTagName('head');
                if(head.length>0){
                    head[0].parentNode.removeChild(head[0]);
                }
              </script>
           <![endif]-->
  • 相关阅读:
    HTTP以及TCP协议
    分布式理论
    JAVA基础面试题
    JAVA基础面试题
    vue 中百度富文本初始化内容加载失败(编辑操作某列数据时,富文本中内容偶尔会为空)
    CodeMirror的使用方法
    JSON格式化,JSON.stringify()的用法
    promise与await的用法
    服务器端node.js
    数组扁平化
  • 原文地址:https://www.cnblogs.com/zeze/p/6249216.html
Copyright © 2020-2023  润新知