Topic awaiting preservation: detecting screen width? (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 02-06-2004 10:56
I need to detect the available screen width of the browser for IE. How can this be done? |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 02-06-2004 18:40
sorry. double post. |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
posted 02-06-2004 18:44
To get the size of the available drawing area code: if (typeof(window.innerWidth) == 'number') use window.innerWidth
code: if (typeof(window.outerWidth) == 'number') use window.outerWidth
|
Nervous Wreck (II) Inmate From: |
posted 02-06-2004 23:29
that just gives me "undefined" in IE. |