1/* Js for https://www.forlinx.net/, Version=1791149191 */ 2 v.lang = {"confirmDelete":"\u60a8\u786e\u5b9a\u8981\u6267\u884c\u5220\u9664\u64cd\u4f5c\u5417\uff1f","deleteing":"\u5220\u9664\u4e2d","doing":"\u5904\u7406\u4e2d","loading":"\u52a0\u8f7d\u4e2d","updating":"\u66f4\u65b0\u4e2d...","timeout":"\u7f51\u7edc\u8d85\u65f6,\u8bf7\u91cd\u8bd5","errorThrown":"<h4>\u6267\u884c\u51fa\u9519\uff1a<\/h4>","continueShopping":"\u7ee7\u7eed\u8d2d\u7269","required":"\u5fc5\u586b","back":"\u8fd4\u56de","continue":"\u7ee7\u7eed","bindWechatTip":"\u53d1\u5e16\u529f\u80fd\u8bbe\u7f6e\u4e86\u7ed1\u5b9a\u5fae\u4fe1\u7684\u9650\u5236\uff0c\u8bf7\u5148\u7ed1\u5b9a\u5fae\u4fe1\u4f1a\u5458\u3002","importTip":"\u53ea\u5bfc\u5165\u4e3b\u9898\u7684\u98ce\u683c\u548c\u6837\u5f0f","fullImportTip":"\u5c06\u4f1a\u5bfc\u5165\u6d4b\u8bd5\u6570\u636e\u4ee5\u53ca\u66ff\u6362\u7ad9\u70b9\u6587\u7ae0\u3001\u4ea7\u54c1\u7b49\u6570\u636e"};;v.path = [0];;v.categoryID = ';';v.pageLayout = "global";;v.defaultMode = "card";;place9093ea3800c6f3412e2f0734d3e0c428='IDLIST_PLACEHOLDERIDLIST_PLACEHOLDER';; 3 $(function() { 4 $('.active').parents('ul.d-secondDrop').parent().find('div:first').addClass('active'); 5 $('.active').parents('li.first').find('div:first').addClass('active'); 6 $('.d-firstNav').click(function(e) { 7 dropSwift($(this), '.d-firstDrop'); 8 //$(this).addClass("active"); 9 e.stopPropagation(); 10 }); 11 $('.d-secondNav').click(function(e) { 12 dropSwift($(this), '.d-secondDrop'); 13 //$(this).addClass("active"); 14 e.stopPropagation(); 15 }); 16 /** 17 * @param dom ç¹å»çå½åå ç´ 18 * @param drop ä¸ä¸çº§èå 19 */ 20 function dropSwift(dom, drop) { 21 //ç¹å»å½åå ç´ ï¼æ¶èµ·æè 伸å±ä¸ä¸çº§èå 22 dom.next().slideToggle(); 23 //设置æè½¬ææ 24 //1.å°ææçå ç´ é½è³ä¸ºåå§çç¶æ 25 //dom.parent().siblings().find('.d-firstNav').removeClass('active'); 26 //2.ç¹å»è¯¥å±ï¼å°å ¶ä»æ¾ç¤ºç䏿»å±éè 27 dom.parent().siblings().find(drop).slideUp(); 28 // var iconChevron = dom.find('.d-firstNav'); 29 // if(iconChevron.hasClass('active')) { 30 // iconChevron.removeClass('active'); 31 // } else { 32 // iconChevron.addClass('active'); 33 // } 34 } 35 }) 36; 37 $(window).scroll(function() { 38 if($(window).scrollTop() > 200) { 39 $('.back').fadeIn(); 40 } else { 41 $('.back').fadeOut(); 42 } 43 }) 44 $(".back").click(function(){ 45 $('body,html').animate({scrollTop:0},1000); 46 return false; 47 }); 48;$(document).ready(function() 49{ 50 /* Set current active topNav. */ 51 var hasActive = false; 52 if(v.categoryID > 0 && $('.nav-product-' + v.categoryID).length >= 1) 53 { 54 hasActive = true; 55 $('.nav-product-' + v.categoryID).addClass('active'); 56 } 57 58 if(v.categoryID > 0 && $('.nav-product-' + '0').length >= 1) 59 { 60 if(!hasActive) 61 { 62 hasActive = true; 63 $('.nav-product-' + '0').addClass('active'); 64 } 65 } 66 if(v.categoryPath && v.categoryPath.length) 67 { 68 $.each(v.categoryPath, function(index, category) 69 { 70 if(!hasActive) 71 { 72 if($('.nav-product-' + category).length >= 1) hasActive = true; 73 $('.nav-product-' + category).addClass('active'); 74 } 75 }); 76 } 77 else if(v.path && v.path.length) 78 { 79 $.each(v.path, function(index, category) 80 { 81 if(!hasActive) 82 { 83 if($('.nav-product-' + category).length >= 1) hasActive = true; 84 $('.nav-product-' + category).addClass('active'); 85 } 86 }); 87 if(!hasActive) $('.nav-product-0').addClass('active'); 88 } 89 90 if(v.categoryID !== 0 && $('#category' + v.categoryID).size() > 0) { 91 $('#category' + v.categoryID).parent().addClass('active'); 92 } 93});/*$('input').bind('click','focus',function(){ 94 $('select').css('display','block') 95 $('select').attr('multiple','multiple') 96});*/ 97$('option').click(function(e){ 98 $('select').css('display','none') 99 $('input').prop('value',e.target.label) 100}); 101/* 102$('input').on('input',function(){ 103 $('select').css('display','none') 104}); 105*/ 106; 107var hash = window.location.hash.substring(1); 108var browserLanguage = navigator.language || navigator.userLanguage;
109var resolution = screen.availWidth + ' X ' + screen.availHeight; 110$.get(createLink('log', 'record', "hash=" + hash), {browserLanguage:browserLanguage, resolution:resolution}); 111; 112 $(function(){ 113 //å¤æææºç«¯ 114 if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { 115 $("ul.page").hide(); 116 $("aside").css({"bottom":"50px","top":"initial"}); 117 //$(".list_new:not(:last-child)").remove(); 118 $('.list_new:first-child').css('border-radius','10px'); 119 } else { 120 $(".pager.form-inline").hide(); 121 } 122 //è¿åé¡¶é¨æé® 123 var backButton = $("#scrolltop"); 124 var height = backButton.offset().top; 125 // æ»å¨æ»å¨æ¡ 126 function backToTop() { 127 $('html,body').animate({ 128 scrollTop: 0 129 }, 800); 130 } 131 backButton.on('click', backToTop); 132 })
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.