I have an element on a page with an ID of "redStrip". It is position absolutely. In the BODY tag of the page, I have onScroll=RePositionBody(), which calls:
iTop = 0;
iNewTop = document.body.scrollTop + iTop;
document.getElementById("redStrip").style.top = iNewTop + "px";
This works great on my browser, IE 6.0.2800 but apparently isn't working on other IE's, such as IE 5.0. Anybody any idea as to why this is?
Any help much appreciated.