// IE10以下浏览器提示 function hiUpgrade() { window.AESKey = ''; // 判断浏览器是否支持placeholder属性 function isSupportPlaceholder() { var input = document.createElement('input'); return 'placeholder' in input; }; //判断是否是IE浏览器,包括Edge浏览器 function IEVersion() { //取得浏览器的userAgent字符串 var userAgent = navigator.userAgent; //判断是否IE浏览器 var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; if (isIE) { // ie10及以下 var reIE = new RegExp("MSIE (\\d+\\.\\d+);"); reIE.test(userAgent); var fIEVersion = parseFloat(RegExp["$1"]); if (fIEVersion < 10 || !isSupportPlaceholder()) { return true; } } else { return false; } } var tpl = '

无法正常浏览本网站!

继续浏览

1、您的浏览器版本过低,请升级您的浏览器。

2、如果您的浏览器是最新版本,请切换到极速模式访问。

3、您使用的是IE10以下的浏览器,建议您使用主流浏览器访问。

主流浏览器下载

'; if (IEVersion()) { document.write(tpl); } } hiUpgrade(); /* 首页 */ // 可持续发展 function develop() { if ($(".wdzApplication").length > 0) { var controller = new ScrollMagic.Controller(); var num = $(".wdzApplication .list").length - 1; $(".wdzApplication .list").each(function () { if ($(this).index() != num) { var _this = $(this); var move1 = TweenMax.to(_this, .5, { y: "100%", scale: 0.6, opacity: 0, ease: Power0.easeIn }); var Scene1 = new ScrollMagic.Scene({ offset: _this.offset().top - $(".hadbox").outerHeight(), duration: $(window).height() * 0.6, }) .setTween(move1) .addTo(controller); } }) } } develop();