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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

detecting height of page content

Status
Not open for further replies.

FesterSXS

Programmer
Joined
Feb 4, 2002
Messages
2,196
Location
GB
Does anyone know the syntax (if it is even possible) to detect the height of the page content even if much of it is scrolled off screen (below the fold)

many thanks

Tony
_______________________________________________________________
 
document.body.scrollHeight

Adam

Whatever I feel like I wanna do, gosh!
 
I think perhaps the scrollHeight method is what you're looking for.
Code:
alert(document.scrollHeight);

-kaht

Do the chickens have large talons?
 
not only am I beaten, I left out the body part too, GOSH!


-kaht

Do the chickens have large talons?
 
Of course - thanks. I must need more coffee, I'm already using that in another of my functions :)

Tony
_______________________________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top