I want my pop-up layer to appear 10px below the top of the window, even when the document was scrolled down.
In IE I used to use document.all.th.scrollTop to calculate where the window scrolled to. ("th" is the id of the body)
But in Mozilla it does not work ( I read that scrollTop will be implemented in newer version of Mozilla if I understood that correctly)
Do you people know a way or work-around?
please?
In IE I used to use document.all.th.scrollTop to calculate where the window scrolled to. ("th" is the id of the body)
But in Mozilla it does not work ( I read that scrollTop will be implemented in newer version of Mozilla if I understood that correctly)
Do you people know a way or work-around?
please?