1jQuery(function($) { 2 3 $(window).on('scroll', function() { 4 // ãããã¼ãåºå®ãã 5 if ($(this).scrollTop() > 300) { 6 $('#js-header').addClass('is-header-fixed'); 7 8 // ã°ãã¼ãã«ããã²ã¼ã·ã§ã³ PC ã¬ã¹ãã³ã·ãOFF+åºå®ãããã¼ 9 // 横ã¹ã¯ãã¼ã«ã§position:fixedã®è¦ç´ ãæ¨ªã¹ã¯ãã¼ã«ããã 10 if (!$('body').hasClass('is-responsive')) { 11 $('#js-header .l-header__bar, .p-megamenu').css('left', $(this).scrollLeft() * -1); 12 } 13 } else { 14 $('#js-header').removeClass('is-header-fixed'); 15 if (!$('body').hasClass('is-responsive')) { 16 $('#js-header .l-header__bar, .p-megamenu').css('left', 0); 17 } 18 } 19 }); 20 21});
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.