views:

77

answers:

1

Hi, usinf javascript is it possible to work out the distance, or how far in pixels a window has been scrolled down?

Regards Phil

+1  A: 

You can get the scroll offset of the document with document.body.scrollTop.

Tatu Ulmanen