1var prevScroll = 0; 2$(function () { 3 $(window).on('scroll', function () { 4 var floatingState = $('.floating ul.state li'); 5 var sectionList = $('.deposit-body .section'); 6 7 var nowScroll = $(window).scrollTop(); 8 9 for (var i = 0; i < sectionList.length; i++) { 10 var thisTopScroll = $(sectionList[i]).offset().top - 152; 11 if (i == 0) { 12 thisTopScroll = $(sectionList[i]).offset().top - 352; 13 } 14 if (nowScroll >= thisTopScroll) { 15 $(floatingState).removeClass('on'); 16 $(floatingState[i]).addClass('on'); 17 } 18 } 19 }); 20}); 21 22$(function () { 23 $('a[href^="#"]').on('click', function (event) { 24 var target = $($(this).attr('href')); 25 if (target.length) { 26 event.preventDefault(); 27 $('html, body').animate( 28 { 29 scrollTop: target.offset().top - 150 30 }, 31 500 32 ); 33 } 34 }); 35}); 36 37// ëì¶ë²í¼í¸ë² 38$(function () { 39 $('.loan_guide_popup_button').mouseover(function () { 40 $('.loan_guide_popup').addClass('on'); 41 }); 42 $('.btn-box.tyep01').mouseout(function () { 43 $('.loan_guide_popup').removeClass('on'); 44 }); 45}); 46 47$(function () { 48 $('.loan_guide_popup_button').focus(function () { 49 $('.loan_guide_popup').addClass('on'); 50 }); 51 $('.btn-box.tyep01').focusout(function () { 52 $('.loan_guide_popup').removeClass('on'); 53 }); 54}); 55 56document.addEventListener('DOMContentLoaded', function () { 57 var submitButton = document.querySelector('.btn-link.cheamu_alert'); 58 submitButton.addEventListener('click', function () { 59 alert('ì ì²ì´ ìë£ëììµëë¤'); 60 }); 61});
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.