[thelist] height of document (body) ?

John C Bullas jcbullas at nildram.co.uk
Sun Sep 28 02:16:53 CDT 2003

At 07:50 28/09/2003, you wrote
>how can i get the height of a page with javaScript? Naturally for all 
>browsers (not necessarily NN4).
>k r i s

Do you mean get the height of a browser window?

variables relating to these properties


does this help?

I once used a wee script to swap between 2 directories depending on screen size



if (window.screen){

var w=screen.width

if (w<=800) {


else {




so I guess you can grab others?


listowner: java-script-world at yahoogroups.com (373 members)


More information about the thelist mailing list