Daily Archives: November 30, 2012

Finding the Scroll Position in IE10

It’s been so long since I had to deal with IE that I had forgotten about this, but IE does not support window.scrollX/window.scrollY; you have to use something like: var top = typeof window.scrollY === “undefined” ? window.pageYOffset : window.scrollY; … Continue reading