_showDatepicker: function(input) { input = input.target || input; if (input.nodeName.toLowerCase() !== "input") { // find from button/image trigger input = $("input", input.parentNode)[0]; } .......... 생략 if (!$.datepicker._pos) { // position below input $.datepicker._pos = $.datepicker._findPos(input); $.datepicker._pos[1] += input.offsetHeight; // add the height // patch start if (/msie [6-9]./.test(navigator.userAgent.toLowerCase())) { // IE 6~9 버전에서 스크롤하는경우 위치값을 제대로 판단하지 못하는 오류 수정 // 브라우저 판단 참고 : http://stackoverflow.com/questions/14512826/impromptu-with-jquery-1-9-error-with-browser-msie // jquery 캘린더 위치 오류 참고 : http://stackoverflow.com/questions/2834857/jquery-ui-datepicker-positioning-problem-when-scrolling-down-webpage $.datepicker._pos[1] += document.body.scrollTop; } } // patch end isFixed = false; $(input).parents().each(function() { isFixed |= $(this).css("position") === "fixed"; return !isFixed; }); .......... 생략 },