I have a table which consists of two divs, an upper and a lower. The lower div is scrollable and as you scroll, the upper div keeps up with this (so you can see the columns). On windows XP, FF 5 it works fine, but on FF 5, Win 7 when I scroll across sometimes the data in the lower div appears within the top div (containing the column headers).
It usually happens after i drag the scrollbar all the way to the left or right extreme. Also, after a few seconds the top div changes back to the column headers (what it should have been all along).
This is my javascript for the scrolling:
function Scroll(SourceID, TargetID, DoIfMoz){
if(DoIfMoz || navigator.userAgent.indexOf("Firefox") == -1) document.getElementById(TargetID).scrollLeft = document.getElementById(SourceID).scrollLeft;
}
where SourceID is the lower div and TargetID is the upper div, which is being moved.
Does anyone know what's happening?