1 2 3var prevScrollpos = window.pageYOffset; 4window.onscroll = function () { 5 var currentScrollPos = window.pageYOffset; 6 if (prevScrollpos > currentScrollPos) { 7 document.getElementById("back-to-menu").style.top = "0px"; 8 //document.getElementById("langtedas").style.marginTop = '-7px'; 9 //document.getElementById("langtedas").style.display = "none"; 10 // document.getElementById("back-to-menu").style.backgroundColor = "transparent"; 11 /* document.getElementById("back-to-menu").style.marginLeft = "-20px";*/ 12 if (window.scrollY == 0) { 13 document.getElementById("back-to-menu").style.backgroundColor = "#fff"; 14 } 15 16 } else { 17 document.getElementById("back-to-menu").style.top = "-7px"; 18 //document.getElementById("langtedas").style.display = "none"; 19 document.getElementById("back-to-menu").style.backgroundColor = "#fff"; 20 document.getElementById("back-to-menu").style.transition = "top 0.3s"; 21 22 } 23 prevScrollpos = currentScrollPos; 24}
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.