[Javascript] how to get browser height

J. Lester Novros II lester at denhaag.org
Wed Mar 19 06:51:57 CDT 2008


Tamilarasi Elumalai wrote:
>  thank you for your reply. but this maxHeight always returns 24. i think 
> its cant be  a browser's height.

Assuming you want the height of the viewport [the area where a browser 
displays its pages], try document.documentElement.clientHeight.

l8R lES
-- 
Trotting out new, unfinished technologies and dropping older, unfinished
technologies and charging for it is Microsoft's bread and butter. It's
one big hamster wheel.                                        /. comment
                   http://www.supermarionation.tv



More information about the Javascript mailing list