<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1002955" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1002955</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recognize-screen-resolution#comment-1013062</link>
    <description> &lt;p&gt;If the user resizes their browser window you can add a piece of code that will reload the document and assess the dimensions again.&lt;/p&gt;
&lt;p&gt;Add b/w &amp;lt;head&amp;gt;&amp;lt;/head&amp;gt; tags:&lt;/p&gt;
&lt;p&gt;window.onresize = new Function(&quot;window.location.reload()&quot;);&lt;/p&gt;
 </description>
     <pubDate>Wed, 08 Mar 2000 13:49:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013062 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recognize-screen-resolution#comment-1013061</link>
    <description> &lt;p&gt;what if they have resized their window to a smaller size?&lt;br /&gt;
JP&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
What Next?&lt;br /&gt;
&quot;Easing you onto the Internet&quot;&lt;br /&gt;
 &lt;a href=&quot;http://www.what-next.com&quot; class=&quot;bb-url&quot;&gt;http://www.what-next.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 08 Mar 2000 12:06:00 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1013061 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/recognize-screen-resolution#comment-1013060</link>
    <description> &lt;p&gt;You can grab the clients resolution using the following code:&lt;/p&gt;
&lt;p&gt;var screenWidth = screen.width;&lt;br /&gt;
var screenHeight = screen.height;&lt;/p&gt;
&lt;p&gt;If you want to display a different set of images per resolution you can either link to a new page or dynamically write the content.&lt;/p&gt;
&lt;p&gt;// 640x480&lt;br /&gt;
if (screen.width == 640 &amp;amp;&amp;amp; screen.height == 480) {&lt;br /&gt;
   window.location.href = &quot;url_640480.html&quot;;&lt;br /&gt;
   }&lt;/p&gt;
&lt;p&gt;Repeat the if statement above for all possible screen combinations.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
Lloyd Hassell&lt;br /&gt;
   &lt;a href=&quot;mailto:lloydhass@hotmail.com&quot; class=&quot;bb-email&quot;&gt;lloydhass@hotmail.com&lt;/a&gt;&lt;br /&gt;
 &lt;a href=&quot;http://go.to/hass&quot; class=&quot;bb-url&quot;&gt;http://go.to/hass&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 29 Feb 2000 14:44:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013060 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
