1var lastScrollTop = 0; 2 3$(window).scroll(function () { 4 var st = $(this).scrollTop(); // ç¾å¨ã®ã¹ã¯ãã¼ã«ä½ç½® 5 var windowH = $(window).height(); // ã¦ã£ã³ãã¦ã®é«ã 6 var docH = $(document).height(); // ãã¼ã¸å ¨ä½ã®é«ã 7 8 9 if (st > 1150) { 10 if (st > lastScrollTop) { 11 $('#popupArea01').addClass('down'); 12 $('.floatTicket').addClass('down'); 13 } 14 } 15 16if (window.matchMedia('screen and (max-width:750px)').matches) { 17 // â¼ è¿½å æ©è½ï¼æä¸é¨ã«å°éããã delete ãä»ä¸ 18 if (st + windowH >= docH) { 19 $('.floatTicket').addClass('delete'); 20 } 21 22 // â¼ æä¸é¨ãã200pxä»¥ä¸ ä¸ã«æ»ã£ãã delete ãå¤ã 23 if (st + windowH < docH - 200) { 24 $('.floatTicket').removeClass('delete'); 25 } 26} 27 28 lastScrollTop = st; // ç¾å¨ã®ã¹ã¯ãã¼ã«ä½ç½®ãæ´æ° 29}); 30 31$('#popupArea01 .ppcloseBtn').on('click', function () { 32 $('#popupArea01').addClass('down'); 33 $('.floatTicket').addClass('down'); 34});
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.