<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic JavaScript question... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/javascript-question/m-p/2816818#M720822</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Previously when I wanted an image to load before moving on to anything else (for image rollovers for example), I've used&lt;BR /&gt;&lt;BR /&gt;simon     = new Image&lt;BR /&gt;simon.src="simon.gif"&lt;BR /&gt;&lt;BR /&gt;in the HEAD section of my page.&lt;BR /&gt;&lt;BR /&gt;In the script I am writing now however, I would like an image to download into cache in a function and then either test that it has downloaded or not move on until it has. Is this possible?&lt;BR /&gt;&lt;BR /&gt;For example&lt;BR /&gt;simon = new Image&lt;BR /&gt;simon.src="simon.gif"&lt;BR /&gt;// Test code or wait until image is loaded&lt;BR /&gt;myFunction()&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;Simon.</description>
    <pubDate>Tue, 01 Oct 2002 13:43:37 GMT</pubDate>
    <dc:creator>Simon Abbott</dc:creator>
    <dc:date>2002-10-01T13:43:37Z</dc:date>
    <item>
      <title>JavaScript question...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/javascript-question/m-p/2816818#M720822</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Previously when I wanted an image to load before moving on to anything else (for image rollovers for example), I've used&lt;BR /&gt;&lt;BR /&gt;simon     = new Image&lt;BR /&gt;simon.src="simon.gif"&lt;BR /&gt;&lt;BR /&gt;in the HEAD section of my page.&lt;BR /&gt;&lt;BR /&gt;In the script I am writing now however, I would like an image to download into cache in a function and then either test that it has downloaded or not move on until it has. Is this possible?&lt;BR /&gt;&lt;BR /&gt;For example&lt;BR /&gt;simon = new Image&lt;BR /&gt;simon.src="simon.gif"&lt;BR /&gt;// Test code or wait until image is loaded&lt;BR /&gt;myFunction()&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;&lt;BR /&gt;Simon.</description>
      <pubDate>Tue, 01 Oct 2002 13:43:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/javascript-question/m-p/2816818#M720822</guid>
      <dc:creator>Simon Abbott</dc:creator>
      <dc:date>2002-10-01T13:43:37Z</dc:date>
    </item>
  </channel>
</rss>

