Jump to content

finding scroll co-ordinates


Adam

Recommended Posts

Im trying to create a javascirpt function which darkens the page and display an image. I was just wondering how I can retrieve the following values...

 

- how high and wide the webpage is (not browser height / width) i mean content wise

- how far on x + y scrollbars they have scrolled (in pixels)

 

Cheers if ya can help!

Link to comment
https://forums.phpfreaks.com/topic/57857-finding-scroll-co-ordinates/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.