View Full Version : find window dimensions

10-12-2006, 08:56 PM
Hi i want to know how i can find the dimensions of a window. I want to know his curent width and height

10-13-2006, 01:36 AM
function winSize(){
var A=[0,0];
A= [window.innerWidth, window.innerHeight];
else {
var D=document.documentElement;
if(D && D.clientHeight) A= [D.clientWidth, D.clientHeight];
return A;

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum