1$(document).ready(function () { 2 //éé¡¹å¡ 3 if ($(".js-tab").length > 0) { 4 jQuery(".js-tab").slide({ 5 delayTime: 0, 6 triggerTime: 0, 7 targetCell: ".more a" 8 }); 9 } 10 if ($(".js-switch").length > 0) { 11 jQuery(".js-switch").slide({ 12 titCell: ".js-hd li:not('.islink')", 13 mainCell: ".js-bd", 14 delayTime: 0, 15 triggerTime: 0, 16 targetCell: ".more a" 17 }); 18 } 19 20 // è¿åé¡¶é¨ 21 $("#quickFun-totop").click(function() { 22 $("body,html").animate({ 23 scrollTop: 0 24 }, 1000); 25 }); 26 isShowQuickFunTotop(window.pageYOffset); 27 // 页颿»å¨ï¼å¤ææ¯å¦æ¾ç¤ºè¿å顶鍿é®ï¼å·¦ä¾§æ¾ç¤ºå¯¹åºå¯¼èª 28 $(window).on("scroll", function () { 29 isShowQuickFunTotop($(this).scrollTop()); 30 }); 31 // æ¯å¦æ¾ç¤ºè¿åé¡¶é¨æé® S 32 function isShowQuickFunTotop(top){ 33 if(top > 600) { 34 $("#quickFun-totop").fadeIn(); 35 } else { 36 $("#quickFun-totop").fadeOut(); 37 } 38 } 39 40 41 42}); 43 44function isMobile() { 45 return "ontouchstart" in document.documentElement && "ontouchmove" in document.documentElement 46} 47 48//cookies设置 49function setCookie(name, value) { 50 var argv = setCookie.arguments; 51 var argc = setCookie.arguments.length; 52 var expires = (argc > 2) ? argv[2] : null; 53 if (expires != null) { 54 var LargeExpDate = new Date(); 55 LargeExpDate.setTime(LargeExpDate.getTime() + (expires * 1000 * 3600 * 24)); 56 } 57 document.cookie = name + "=" + escape(value) + ((expires == null) ? "" : ("; expires=" + LargeExpDate.toGMTString())) + ";path=/"; 58} 59 60//cookies读å 61function getCookie(Name) { 62 var search = Name + "=" 63 if (document.cookie.length > 0) { 64 offset = document.cookie.indexOf(search) 65 if (offset != -1) { 66 offset += search.length 67 end = document.cookie.indexOf(";", offset) 68 if (end == -1) end = document.cookie.length 69 return unescape(document.cookie.substring(offset, end)) 70 } else return "" 71 } 72}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.