1new function(){ 2 3 var footerId = "footer"; 4 //C 5 function footerFixed(){ 6 //hL g̳ 7 var dh = document.getElementsByTagName("body")[0].clientHeight; 8 //tb^[Ìtop©çÌÊu 9 document.getElementById(footerId).style.top = "0px"; 10 var ft = document.getElementById(footerId).offsetTop; 11 //tb^[̳ 12 var fh = document.getElementById(footerId).offsetHeight; 13 //EBhE̳ 14 if (window.innerHeight){ 15 var wh = window.innerHeight; 16 }else if(document.documentElement && document.documentElement.clientHeight != 0){ 17 var wh = document.documentElement.clientHeight; 18 } 19 if(ft+fh<wh){ 20 document.getElementById(footerId).style.position = "relative"; 21 document.getElementById(footerId).style.top = (wh-fh-ft)+"px"; 22 } 23 } 24 25 //¶TCY 26 function checkFontSize(func){ 27 28 //»èvfÌÇÁ 29 var e = document.createElement("div"); 30 var s = document.createTextNode("S"); 31 e.appendChild(s); 32 e.style.visibility="hidden" 33 e.style.position="absolute" 34 e.style.top="0" 35 document.body.appendChild(e); 36 var defHeight = e.offsetHeight; 37 38 //»èÖ 39 function checkBoxSize(){ 40 if(defHeight != e.offsetHeight){ 41 func(); 42 defHeight= e.offsetHeight; 43 } 44 } 45 setInterval(checkBoxSize,1000) 46 } 47 48 //CxgXi[ 49 function addEvent(elm,listener,fn){ 50 try{ 51 elm.addEventListener(listener,fn,false); 52 }catch(e){ 53 elm.attachEvent("on"+listener,fn); 54 } 55 } 56 57 addEvent(window,"load",footerFixed); 58 addEvent(window,"load",function(){ 59 checkFontSize(footerFixed); 60 }); 61 addEvent(window,"resize",footerFixed); 62 63}
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.