<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021420" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021420</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/resolution-redirect-script#comment-1132045</link>
    <description> &lt;p&gt;Javascript is still required on many sites, so if you&#039;re using it, maybe make your conditionals more flexible, ie:&lt;/p&gt;
&lt;p&gt;&amp;lt;script language=&quot;JavaScript&quot;&amp;gt;&lt;br /&gt;
function openNewWindow() {&lt;br /&gt;
    var sW = screen.width;&lt;br /&gt;
    var sH = screen.height;&lt;br /&gt;
  if (sW &amp;gt; 800){&lt;br /&gt;
newWindow=window.open(&quot;http://www.domain/winLarge.com&quot;, &quot;win&quot;, &quot;scrollbars=0,resizable=0,x=0,y=0,left=0,top=0,height=sH,width=sW&quot;);&lt;br /&gt;
   }&lt;br /&gt;
else {&lt;br /&gt;
   newWindow=window.open(&quot;http://www.domain/winSmall.com&quot;, &quot;win&quot;, &quot;scrollbars=0,resizable=0,x=0,y=0,left=0,top=0,height=600,width=800&quot;);&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
///&lt;/p&gt;
&lt;p&gt;Substitute &#039;screen.availWidth&#039; if necessary. Generally it&#039;s probably best to have all content 800x600, and then change the border depending on the screen size.&lt;/p&gt;
&lt;p&gt;TonyMontana&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 18:09:38 +0000</pubDate>
 <dc:creator>TonyMontana</dc:creator>
 <guid isPermaLink="false">comment 1132045 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/resolution-redirect-script#comment-1132041</link>
    <description> &lt;p&gt;use how about using availWidth and availHeight instead of the the screen height.&lt;br /&gt;
-dk&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 15:43:16 +0000</pubDate>
 <dc:creator>dk01</dc:creator>
 <guid isPermaLink="false">comment 1132041 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/resolution-redirect-script#comment-1132037</link>
    <description> &lt;p&gt;Yeah, it is so imperfect to base it on screen resolution for the reasons listed above. Also many people use AOL and have their their IE favorites or Search clicked so as to reduce the resolution because of the left side bar. The main problem with using the redirect is that it lists the desktop resolution and doesn&#039;t change based on the browser size.&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 15:11:45 +0000</pubDate>
 <dc:creator>mairving</dc:creator>
 <guid isPermaLink="false">comment 1132037 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/resolution-redirect-script#comment-1132035</link>
    <description> &lt;p&gt;I&#039;m the same as Suzanne. My screen resolution is 1152*864 but I also have the browser window set to 800*600, so any sites that change to suit my &#039;true&#039; resolution are a pain in the whatsit for me! Much better to make the site fit 800*600 and either stretch to fit other sizes or look good in the larger resolutions.&lt;/p&gt;
&lt;p&gt;See &lt;a href=&quot;http://www.webmaster-forums.net/showthread.php?s=&amp;amp;threadid=21416&quot; class=&quot;bb-url&quot;&gt;this thread&lt;/a&gt; as well which is along the same lines as this discussion.&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 14:52:51 +0000</pubDate>
 <dc:creator>The Webmistress</dc:creator>
 <guid isPermaLink="false">comment 1132035 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/resolution-redirect-script#comment-1132034</link>
    <description> &lt;p&gt;I have my screen resolution at 1150 something by whatever, my browser stays at 800x800 because then I can work on a number of things at once. I keep my text app windows open to about 550 each so I can have them side by side.&lt;/p&gt;
&lt;p&gt;Ain&#039;t user preference a pain!?&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 14:43:37 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1132034 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/resolution-redirect-script#comment-1132027</link>
    <description> &lt;p&gt;but with if people are using 1024x768 but have it minimised to 800x600 or has tool bars on the side ...&lt;br /&gt;
also what if Javascript is disabled (lots of people disable it these days to avoid popups)&lt;/p&gt;
&lt;p&gt;can&#039;t you have a blank section, or a section of your banner as a percentage to suit any size ?&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 05:23:56 +0000</pubDate>
 <dc:creator>Busy</dc:creator>
 <guid isPermaLink="false">comment 1132027 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/resolution-redirect-script#comment-1132026</link>
    <description> &lt;p&gt;Put it all in a function, like so:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script language=&amp;quot;JavaScript1.2&amp;quot;&amp;amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt;Screen Size Redirect script (By Robert @ &amp;lt;a href=&amp;quot;http://members.tripod.com/technological_tinker/&amp;quot; class=&amp;quot;bb-url&amp;quot;&amp;gt;http://members.tripod.com/technological_tinker/&amp;lt;/a&amp;gt;)&lt;br /&gt;Submitted to Dynamicdrive.com to feature script in archive&lt;br /&gt;For full source, usage terms, and 100&amp;#039;s more DHTML scripts, visit &amp;lt;a href=&amp;quot;http://dynamicdrive.com&amp;quot; class=&amp;quot;bb-url&amp;quot;&amp;gt;http://dynamicdrive.com&amp;lt;/a&amp;gt;&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;fnRedirect() {&lt;br /&gt;if (screen.width==800||screen.height==600) //if 800x600&lt;br /&gt;window.location.replace(&amp;quot;http://www.voiceone.net/800&amp;quot;)&lt;br /&gt;&lt;br /&gt;else if (screen.width==640||screen.height==480) //if 640x480&lt;br /&gt;window.location.replace(&amp;quot;http://www.voiceone/net/800&amp;quot;)&lt;br /&gt;&lt;br /&gt;else if (screen.width==1024||screen.height==768) //if 1024x768&lt;br /&gt;window.location.replace(&amp;quot;http://www.utilibizsolutions.com&amp;quot;)&lt;br /&gt;&lt;br /&gt;else //if all else&lt;br /&gt;window.location.replace(&amp;quot;http://freewarejava.com&amp;quot;)&lt;br /&gt;}&lt;br /&gt;//--&amp;gt;&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;br /&gt;
And call it onload, with a setTimeout in your flash code:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;object onload=&amp;quot;setTimeout(&amp;#039;fnRedirect()&amp;#039;,10000);&amp;quot; . . .&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;Change the 10000 to whatever length the movie is, in milliseconds.&lt;/p&gt;
&lt;p&gt;Should work.&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 May 2003 04:32:40 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1132026 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
