Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scrollTop in Mozilla?

Status
Not open for further replies.

elck

Programmer
Apr 19, 2004
176
NL
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top