RE: JavaScript Problem

by "tim booker" <timbooker(at)btinternet.com>

 Date:  Fri, 9 Mar 2001 20:41:22 -0000
 To:  "'Ben Ocean'" <lists(at)TheWebsons.com>
 Cc:  "HWG \(E-mail\)" <hwg-techniques(at)hwg.org>
 In-Reply-To:  thewebsons
  todo: View Thread, Original
> 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

Tim



www.timbooker.com




> -----Original Message-----
> From: owner-hwg-techniques(at)hwg.org
> [mailto:owner-hwg-techniques(at)hwg.org]On Behalf Of Ben Ocean
> Sent: 09 March 2001 17:40
> To: hwg-techniques(at)hwg.org
> Subject: JavaScript Problem
>
>
> Why does this variable come back undefined?
>
>  >>>
> <html><body>
> <script language="javascript">
> document.write("Window width is: " + window.innerWidth);
> </script>
> </body></html>
> <<<
>
> TIA,
> BenO
>
>

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA