Removed IE8 per comment from user below. Evidently it does not work. Browser window.pageYOffset document.body.scrollTop document.documentElement.scrollTop IE9 Valid ? This is the solution thyat worked for all browsers including IE 8. var winh (self.innerHeight) ? self.innerHeightvertical scrollbar position var scrlpos window.pageYOffset ? window.pageYOffset : document.documentElement.scrollTop ? document.documentElement.scrollTop Scroll.
(window).scrollTop(0) seems to be supported by all browsers IE9 (maybe IE8 but I dont test on that any more).So: (html, body).animate(scrollTop:0,500) will scroll to the top of the browser in half a second. Scroll. (window).scrollTop(0)seems to be supported by all browsers IE9 (maybe IE8 but I dont test on that any more).So: (html, body).animate(scrollTop:0,500)will scroll to the top of the browser in half a second. Here is my site: www.axessnetwork.com. Here is the code were using for the left scrolling nav area: