1new function(){ 2 3 var footerId = "footer"; 4 function footerFixed(){ 5 var dh = document.getElementsByTagName("body")[0].clientHeight; 6 document.getElementById(footerId).style.top = "0px"; 7 var ft = document.getElementById(footerId).offsetTop; 8 var fh = document.getElementById(footerId).offsetHeight; 9 if (window.innerHeight){ 10 var wh = window.innerHeight; 11 }else if(document.documentElement && document.documentElement.clientHeight != 0){ 12 var wh = document.documentElement.clientHeight; 13 } 14 if(ft+fh<wh){ 15 document.getElementById(footerId).style.position = "relative"; 16 document.getElementById(footerId).style.top = (wh-fh-ft-1)+"px"; 17 } 18 } 19 20 function checkFontSize(func){ 21 22 var e = document.createElement("div"); 23 var s = document.createTextNode("S"); 24 e.appendChild(s); 25 e.style.visibility="hidden" 26 e.style.position="absolute" 27 e.style.top="0" 28 document.body.appendChild(e); 29 var defHeight = e.offsetHeight; 30 31 function checkBoxSize(){ 32 if(defHeight != e.offsetHeight){ 33 func(); 34 defHeight= e.offsetHeight; 35 } 36 } 37 setInterval(checkBoxSize,1000) 38 } 39 40 function addEvent(elm,listener,fn){ 41 try{ 42 elm.addEventListener(listener,fn,false); 43 }catch(e){ 44 elm.attachEvent("on"+listener,fn); 45 } 46 } 47 48 addEvent(window,"load",footerFixed); 49 addEvent(window,"load",function(){ 50 checkFontSize(footerFixed); 51 }); 52 addEvent(window,"resize",footerFixed); 53 54} 55 56jQuery(function() { 57 var pageTop = jQuery('#page-top'); 58 pageTop.hide(); 59 jQuery(window).scroll(function () { 60 if(jQuery(this).scrollTop() > 400) { 61 pageTop.fadeIn(); 62 } else { 63 pageTop.fadeOut(); 64 } 65 }); 66 pageTop.click(function () { 67 jQuery('body,html').animate({ 68 scrollTop: 0 69 }, 800); 70 return false; 71 }); 72 }); 73 74jQuery(document).ready(function(){ 75 jQuery(".acordion_tree").css("display","none"); 76 jQuery(".trigger").click(function(){ 77 if(jQuery("+.acordion_tree",this).css("display")=="none"){ 78 jQuery(this).addClass("active"); 79 jQuery("+.acordion_tree",this).slideDown("normal"); 80 }else{ 81 jQuery(this).removeClass("active"); 82 jQuery("+.acordion_tree",this).slideUp("normal"); 83 } 84 }); 85}); 86 87jQuery(document).ready(function(){ 88 jQuery(".menu ul.children").hide(); 89 jQuery("li.page_item").hover(function() { 90 jQuery("ul.children",this).slideDown("slow"); 91 }, 92 function() { 93 jQuery("ul.children",this).slideUp("slow"); 94 }); 95});
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.