(顶部使用轮播图,增加浏览器版本提示,为六个圈预留位置,解决onscroll覆盖问题。) |
m (解决逻辑与问题。) |
||
Line 15: | Line 15: | ||
<script> | <script> | ||
function check() { | function check() { | ||
− | if | + | let a = false, b = false; |
+ | if (navigator.userAgent.indexOf("compatible") > -1) | ||
+ | if (navigator.userAgent.indexOf("MSIE") > -1) | ||
+ | a = true; | ||
+ | if (navigator.userAgent.indexOf('Trident') > -1) | ||
+ | if (navigator.userAgent.indexOf("rv:11.0") > -1) | ||
+ | b = true; | ||
+ | if (a || b) | ||
alert('We are sorry but Microsoft Internet Explorer may be too old to display this page correctly.\nIt is recommended to update your browser, otherwise your experience may suffer.'); | alert('We are sorry but Microsoft Internet Explorer may be too old to display this page correctly.\nIt is recommended to update your browser, otherwise your experience may suffer.'); | ||
} | } |
Revision as of 06:39, 2 October 2018
Circles
a
b
c
d
e
f