Tar분할 › JuniperVPN64bitUbuntu에서CommandLine으로연결하기 › 나는아마존에서미래를다녔다-박정준-201907 › 개발툴 › 배치로MysqlDb백업받기 › JavascriptBody.scrollTop항상0리턴
body.scrollTop body.scrollLeft
IE에서 항상 0을 리턴하는 문제
==>
document.documentElement.scrollTop document.documentElement.scrollLeft사용
cf)
if (document.documentElement && !document.documentElement.scrollTop) // IE6 +4.01 but no scrolling going on else if (document.documentElement && document.documentElement.scrollTop) // IE6 +4.01 and user has scrolled else if (document.body && document.body.scrollTop) // IE5 or DTD 3.2