<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012741" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012741</link>
    <description></description>
    <language>en</language>
          <item>
    <title>cross-browser window size detection</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/detecting-window-size#comment-1073704</link>
    <description> &lt;p&gt;Put this in the HEAD section of your page.  It displays the actual window size in the status window for both IE5 and NN4.  I&#039;ll leave it to you to change the code to achieve the effect you need:)&lt;/p&gt;
&lt;p&gt;&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;&lt;/p&gt;
&lt;p&gt;function checker(){&lt;/p&gt;
&lt;p&gt;if (document.all)&lt;/p&gt;
&lt;p&gt;	{&lt;br /&gt;
	w=document.body.clientWidth&lt;br /&gt;
	h=document.body.clientHeight&lt;br /&gt;
	window.status=&quot;Current dimensions: &quot;+w+&quot; x &quot;+h&lt;br /&gt;
	}&lt;/p&gt;
&lt;p&gt;else &lt;/p&gt;
&lt;p&gt;	{&lt;br /&gt;
	w=window.innerWidth&lt;br /&gt;
	h=window.innerHeight&lt;br /&gt;
	window.status=&quot;Current dimensions: &quot;+w+&quot; x &quot;+h&lt;br /&gt;
	}&lt;/p&gt;
&lt;p&gt;}&lt;br /&gt;
setInterval(&quot;checker()&quot;,20)&lt;/p&gt;
&lt;p&gt;&amp;lt;/script&amp;gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Nov 2000 17:49:48 +0000</pubDate>
 <dc:creator>AndyB</dc:creator>
 <guid isPermaLink="false">comment 1073704 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>huh?</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/detecting-window-size#comment-1073676</link>
    <description> &lt;p&gt;do you want to check the window size or the size of the monitor, becuase you can CONTROL the size of the monitor, ill have to get back to you on that though... i have a really bad and annoying headache...&lt;/p&gt;
 </description>
     <pubDate>Tue, 07 Nov 2000 02:07:21 +0000</pubDate>
 <dc:creator>ianrules</dc:creator>
 <guid isPermaLink="false">comment 1073676 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
