<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1003024" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1003024</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/imagepreload#comment-1013344</link>
    <description> &lt;p&gt;I would only bother preloading images to be used in rollovers. Always preload rollover images because there is nothing more annoying than rollovers that download onMouseOver.&lt;/p&gt;
&lt;p&gt;Here is the code for pre-loading:&lt;/p&gt;
&lt;p&gt;if (document.images) {&lt;br /&gt;
   IMG_NAME1 = new Image();&lt;br /&gt;
   IMG_NAME1.src = &quot;images/file1.gif&quot;;&lt;br /&gt;
   IMG_NAME2 = new Image();&lt;br /&gt;
   IMG_NAME2.src = &quot;images/file2.gif&quot;;&lt;br /&gt;
   }&lt;/p&gt;
&lt;p&gt;Make sure you include the if statement so that older browsers dont generate errors.&lt;/p&gt;
 </description>
     <pubDate>Fri, 31 Mar 2000 03:36:00 +0000</pubDate>
 <dc:creator>Lloyd Hassell</dc:creator>
 <guid isPermaLink="false">comment 1013344 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/imagepreload#comment-1013343</link>
    <description> &lt;p&gt;You preload images by listing them in an array, or listing them in the body tag.  I prefer the array method, then call to the images from the array, but that&#039;s just me.  Someone else will know the onLoad part.&lt;/p&gt;
&lt;p&gt;Basically, if you are using the images for rollovers, preload them -- no one will wait around in real life to see the effect of your rollover if they have to hover for it to load (as in when they aren&#039;t preloaded).&lt;/p&gt;
&lt;p&gt;Don&#039;t use it, though, to load full size images for thumbnails -- it removes the choice from the user.  They should be able to decide whether they want to load the larger image or not.&lt;/p&gt;
&lt;p&gt;Suzanne&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.zerocattle.com&quot; class=&quot;bb-url&quot;&gt;Zero Cattle&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/&quot; class=&quot;bb-url&quot;&gt;Suzanne&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.inforamp.net/~suzanne/index/celtic.html&quot; class=&quot;bb-url&quot;&gt;Tables DeMystified&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 31 Mar 2000 00:05:00 +0000</pubDate>
 <dc:creator>Suzanne</dc:creator>
 <guid isPermaLink="false">comment 1013343 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
