Is it possible to calculate (dynamically) the height (in pixels) of a webpage. For instance I want to know the height of http://www.phpbuilder.com/forum/index.php3 would it be 1300px or what is the exact #?
Hi Sergey,
you can't calculate height, because that depends of a browser, OS, resolution, fullscreen, etc.
but you can find height from JavaScript...
just look for the window.innerWidth
Igor
Those are 'client side' variables that can be accessed throughjavascript.
For Netscape it's:
window.innerWidth window.innerHeight
For IE: document.body.clientWidth document.body.clientHeight
This gives you dimensions of the web page - not the web browser.