| hwg-techniques archives | Mar 2001 | new search | results | previous | next |
RE: JavaScript Problemby "tim booker" <timbooker(at)btinternet.com> |
|
> 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