1function setTab(name,cursel,n){ 2 for(i=1;i<=n;i++){ 3 var menu=document.getElementById(name+i); 4 var con=document.getElementById("con_"+name+"_"+i); 5 menu.className=i==cursel?"hover":""; 6 con.style.display=i==cursel?"block":"none"; 7 } 8} 9 10function listTab(name, cursel, n) { 11 for (i = 1; i <= n; i++) { 12 var con = document.getElementById("con_" + name + "_" + i); 13 con.style.display = i == cursel ? "block" : "none"; 14 } 15} 16function fenLeiTab(name, cursel, n) { 17 18 var quanBuFenLei = document.getElementById("List_tao"); 19 //var box = document.getElementById("quanBu"); 20 var thisP = document.getElementById("allFenLei"); 21 var thisI = document.getElementById("guanBi"); 22 if (quanBuFenLei.style.display == "none") { 23 quanBuFenLei.style.display = "none"; 24 } else { 25 quanBuFenLei.style.display = "none"; 26 var thisPc = thisP.className; 27 var thisIc = thisI.className; 28 //alert(thisPc); 29 thisP.classList.remove(thisPc); 30 thisI.classList.remove(thisIc); 31 thisI.innerHTML = "Õ¹¿ª"; 32 } 33 for (i = 1; i <= n; i++) { 34 var menu = document.getElementById(name + i); 35 var con = document.getElementById("con_" + name + "_" + i); 36 menu.className = i == cursel ? "link" : ""; 37 con.style.display = i == cursel ? "block" : "none"; 38 } 39} 40 41$(function () { 42 var txtHonor = $(".pr_v_txt ul.honor p"); 43 for (var i = 0; i < txtHonor.length; i++) { 44 if (!$(".pr_v_txt ul.honor p").eq(i).children("img").length > 0) { 45 $(".pr_v_txt ul.honor p").eq(i).css("text-indent", "24px"); 46 } 47 } 48}) 49 50$(document).ready(function () { 51 $(window).scroll(function () { 52 if ($(this).scrollTop() > 0) { 53 $(".stop").addClass("topFix"); 54 } else { 55 $(".stop").removeClass("topFix"); 56 } 57 if ($(this).scrollTop() > 200) { 58 $(".modFloatCate").fadeIn(); 59 } else { 60 $(".modFloatCate").fadeOut(); 61 } 62 }) 63 $(".toTop").click(function(){ 64 $("html, body").animate({ scrollTop: 0 }, 500); 65 }); 66}) 67 68var leftDome; 69$(function () { 70 leftDome = function dome(element) { 71 var a_top = 0; 72 var b_top = $(".pleft").height(); 73 var c_top = element - b_top - 420; 74 //var c_top=$(document).height()-1245; 75 var Pleft = $(".pleft"); 76 $(window).scroll(function () { 77 if ($(this).scrollTop() > 270 && $(this).scrollTop() < c_top) { 78 Pleft.addClass("pleft_two"); 79 $(".pleft").css({ top: 0 }); 80 } 81 if ($(this).scrollTop() < 270) { 82 Pleft.removeClass("pleft_two"); 83 $(".pleft").css({ top: a_top }); 84 } 85 86 if ($(this).scrollTop() > c_top) { 87 Pleft.removeClass("pleft_two"); 88 $(".pleft").css({ top: c_top - 270 }); 89 } 90 }) 91 } 92 leftDome($(document).height()); 93}) 94function setLeft() { 95 var dome1 = setInterval(function () { leftDome($(document).height()); }, 500); 96 setTimeout(function () { clearInterval(dome1) }, 1000); 97}
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.