锘?/灞忚斀榧犳爣鍙抽敭 var jsArgument = document.getElementsByTagName("script")[document.getElementsByTagName("script").length-1].src; //鑾峰彇浼犻€掔殑鍙傛暟 rightButton = jsArgument.substr(jsArgument.indexOf("rightButton=") + "rightButton=".length, 1); if (rightButton == "1"){ document.oncontextmenu = function(e){return false;} document.onselectstart = function(e){return false;} if (navigator.userAgent.indexOf("Firefox") > 0){ document.writeln(""); } } // 鎵嬫満绔欒嚜鍔ㄨ烦杞 mobilejump ="1"; if (mobilejump == "1"){ var url = window.location.href; if(url.slice(url.lastIndexOf("/")+1)=="index.asp"){ url = url.slice(0,url.lastIndexOf("/")+1); } var isAndroid = navigator.appVersion.toLowerCase().indexOf("android") >= 0, isIphone = navigator.appVersion.toLowerCase().indexOf("iphone") >= 0; if (isAndroid || isIphone){ // window.location.href = url +"mobile"; }; } // 娴忚鍣ㄧ増鏈 $(function(){ var DEFAULT_VERSION = "8.0"; var ua = navigator.userAgent.toLowerCase(); var isIE = ua.indexOf("msie")>-1; var safariVersion; if(isIE){ safariVersion = ua.match(/msie ([\d.]+)/)[1]; if(safariVersion <= DEFAULT_VERSION ){ $("body").append("
鎮ㄥ綋鍓嶄娇鐢ㄧ殑IE娴忚鍣ㄧ増鏈繃浣庯紝涓轰簡鎮ㄧ殑娴忚浣撻獙锛屽缓璁偍鍗囩骇鍒?a style='color:#f00;font-weight:bold;' href='https://www.microsoft.com/zh-cn/download/internet-explorer.aspx' title='鐐瑰嚮涓嬭浇鏈€鏂癐E娴忚鍣? target='_blank'> IE9+ 鎴栬€呬娇鐢?a style='color:#f00;font-weight:bold;' href='http://www.firefox.com.cn/' title='鐐瑰嚮涓嬭浇鏈€鏂癴irefox娴忚鍣? target='_blank'> firefox , chrome 鏈€鏂扮増鏈紒X
"); } } }) // 鍥炲埌椤堕儴 $(document).ready(function(){ $(window).scroll(function(){ var scrollH = $(window).scrollTop(); if(scrollH>300){ $(".back-to").fadeIn(); }else{ $(".back-to").fadeOut(); } }) $(".back-to").on('click',function(){ $('html,body').animate({'scrollTop':0},500); }); }) // 鍦ㄧ嚎QQ $(function(){ var m_woo_panel = $('#m-woo-panel'); $('#j-close').on('click',function(){ m_woo_panel.hide(); }); $('#j-console').on("click",function(){ if($(this).hasClass("m-console-active")){ $(this).removeClass("m-console-active"); m_woo_panel.animate({right:0}); }else{ $(this).addClass("m-console-active"); m_woo_panel.animate({right:-164}); }; }); }); // QQ婊氬姩鐗规晥 $(document).ready(function(){ $(".online_qq").floatadv(); }); jQuery.fn.floatadv = function(loaded) { var obj = this; body_height = parseInt($(window).height()); block_height = parseInt(obj.height()); top_position = parseInt((body_height/2) - (block_height/2) + $(window).scrollTop()); if (body_height