RE: JavaScript Problem
by Ben Ocean <lists(at)TheWebsons.com>
|
Date: |
Fri, 09 Mar 2001 13:00:49 -0800 |
To: |
"tim booker" <timbooker(at)btinternet.com> |
Cc: |
hwg-techniques(at)hwg.org |
References: |
thewebsons |
|
todo: View
Thread,
Original
|
|
At 08:41 PM 3/9/2001 +0000, you wrote:
> > Why does this variable come back undefined?
>
>Because Internet Explorer doesn't support it. Check out PPK's excellent
>page on window properties: http://www.xs4all.nl/~ppk/js/winprop.html
Actually, it does, and that link showed me what I was missing!
> > >>>
> > <html><body>
> > <script language="javascript">
> > document.write("Window width is: " + window.innerWidth);
oops, *window.self.innerWidth*
Thanks!
BenO
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA