17523934 * 사파리/크롬에서 팝업레이어 offset 값에 스크롤바 두께를 빼고 설정하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5071 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
bnu 2008-12-14 04:36:29 +00:00
parent 141e8d99f2
commit b3c83307a3

View file

@ -117,6 +117,11 @@ if(jQuery) jQuery.noConflict();
if(area.outerWidth()+areaOffset.left > jQuery(window).width()+jQuery(window).scrollLeft())
areaOffset.left = jQuery(window).width() - area.outerWidth() + jQuery(window).scrollLeft();
if($.browser.safari) {
areaOffset.top -= 16;
areaOffset.left -= 16;
}
area.css({ visibility:"visible", top:areaOffset.top, left:areaOffset.left });
}
}