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

availHeight of Browser's Display Area (not of screen)

Status
Not open for further replies.

WindUp

Programmer
Mar 6, 2003
100
0
0
US
I'm trying to get the available Height (in pixels) of the Browser's Display Area. Screen.availHeight gives the usable area of the Screen, which is close to what I want, but not quite it.

I want the available Display Area of the Browser (without scrolling down.) This would be the available Height of the Screen minus the height of TaskBar, StatusBar, ToolBar, MenuBar... Does anyone know how to get that?

Thank you.

Good Luck! [thumbsup2]
WindUp
 
javascript:alert(document.body.clientHeight)

Adam
while(ignorance==true){perpetuate(violence,fear,hatred);life--};
 
That works! Thanks a bunch. It even works in both IE and Netscape. My books don't seem to have any information on that. Cool signature by the way!

Good Luck! [thumbsup2]
WindUp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top