document.body.scrolltop not working in ie8
When document have no scrollbar, document.body.scrollTop and document.documentElement.scrollTop are unchangeable.horizontal scrolling not working in safari 6? 9. After some digging around further, I found out that Firefox and IE identify the "top" differently so I changed the code from: if ( document.body.scrollTop . Jquery.scroll() not working in IE with both (window) and (document). (issue with window.pageYOffset?) In Firefox and IE8, the above code works exactly like I want: the scrolled box (in this case, the page body) correctly scrolls the contained stuff to the right point in the window when its told to do so.("body,html,document").scrollTop(("mapcanvas").position().
top) This fix works in IE8 (maybe IE7 too).if you want bottom / bottom:0 top:expression(document.body.scrollTop document.body.clientHeight-this.clientHeight) document.body.scrollTop in IE.This works in IE 8 but not in Chrome or FF. I am new to the world of cross browser functionality. function ShowModal(WindowID,FramesetID) window.onscroll function () window.top.document.getEl.
Originally I had tried to rely on document.body.scrollTop which works fine for the original demos I created, but it fails when running in a MasterPage.