chrome › jEdit › TheWinnerTakesItAll › HelpOnPageCreation › ajax › 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