1// JavaScript Document 2 3function init() { 4 // ã¹ã¯ãã¼ã«ãã¦ä½ãã¯ã»ã«ã§ã¢ãã¡ã¼ã·ã§ã³ãããã 5 var px_change = 150; 6 7 // ã¹ã¯ãã¼ã«ã®ã¤ãã³ããã³ãã©ãç»é² 8 window.addEventListener('scroll', function(e){ 9 // å¤åãããã¤ã³ãã¾ã§ã¹ã¯ãã¼ã«ãããã¯ã©ã¹ã追å 10 if ( $(window).scrollTop() > px_change ) { 11 $("#global-header").addClass("scroll"); 12 13 // å¤åãããã¤ã³ã以åã§ããã°ã¯ã©ã¹ãåé¤ 14 } else if ( $("#global-header").hasClass("scroll") ) { 15 $("#global-header").removeClass("scroll"); 16 } 17 }); 18} 19window.onload = init();
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.