탑버튼(topbtn) DOM 위치값 계산
탑버튼(topbtn) DOM 위치값 계산 $(function(){ var thisTopButton = $('.btn_top'); $(window).on('scroll',function(){ var thisScrollTop = $(this).scrollTop(), thisWindowHeight = $(this).height(), thisPageHeight = $('#wrap').height(), thisFooterHeight = $('#footer').height(), btnFixedPoint = 0; btnFixedPoint = thisPageHeight - (thisWindowHeight + (thisFooterHeight)); if (thisScrollTop >= btnFixedPoint) { thi..