Loading ...
Sorry, an error occurred while loading the content.

Images in mouseover script do not download

Expand Messages
  • LGO ô¿ô
    I have a simple mouseover script (simple to everyone but me) located at the top of a html page which displays one gif graphic and then shows another gif when a
    Message 1 of 2 , Apr 2, 2005
    • 0 Attachment
      I have a simple mouseover script (simple to everyone but me) located at the top
      of a html page which displays one gif graphic and then shows another gif when a
      user mouses over the first graphic. Works great on my computer. Uploaded it to
      web space and neither of the two gif images even show up when the page is
      finished downloading. Nothing. Nada. Zilch. All the files (web page, jpg graphic
      and 2 gifs) are in the same directory on the server. The jpg downloads just fine.

      Here's the script in the head portion . . .

      <head>
      <SCRIPT LANGUAGE="JavaScript">
      <!--
      if (document.images) {
      var LGO1 = new Image();
      LGO1.src = "LGO-01.gif";
      var LGO2 = new Image();
      LGO2.src = "LGO-02.gif";
      }

      function show_highlight() {
      if (document.images) {
      document["LGO"].src = LGO2.src;
      }
      }

      function hide_highlight() {
      if (document.images) {
      document["LGO"].src = LGO1.src;
      }
      }
      //-->
      </SCRIPT>
      </head>

      I call the images in the body of the page using the following (jpg graphic not
      listed here) . . .

      <body>
      <a href="mailto:Le_Geefted_One@...?subject=Re: What is this?"
      onMouseOver="show_highlight(); window.status='Write an e-mail to LGO';
      return true"
      onMouseOut="hide_highlight()
      return false">
      <img border="0" src="LGO-01.gif" ALT="Write an e-mail to LGO" width="213"
      height="28" name="LGO"></a></font></b></td>

      </body>

      For the life of me, I cannot figure out why the 2 gif images for the mouseover
      effect do not download from the server when the page is viewed. Any ideas?

      Here's the URL if anyone wants to look at the actual page . . .

      http://home.ix.netcom.com/~le_geefted_one/Henri/test.htm

      Suggestions are sincerely appreciated.

      LGO




      --
      No virus found in this outgoing message.
      Checked by AVG Anti-Virus.
      Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005
    • LGO ô¿ô
      ... Solved the problem. The filename extensions on the server are upper case (for some reason) and I was trying to call them using lower case. What a dolt.
      Message 2 of 2 , Apr 2, 2005
      • 0 Attachment
        LGO ô¿ô wrote:

        > I have a simple mouseover script (simple to everyone but me) located at
        > the top of a html page which displays one gif graphic and then shows
        > another gif when a user mouses over the first graphic. Works great on my
        > computer. Uploaded it to web space and neither of the two gif images even
        > show up when the page is finished downloading. Nothing. Nada. Zilch.

        Solved the problem. The filename extensions on the server are upper case (for
        some reason) and I was trying to call them using lower case. What a dolt.

        Geez, is it beer:30 yet?

        LGO




        --
        No virus found in this outgoing message.
        Checked by AVG Anti-Virus.
        Version: 7.0.308 / Virus Database: 266.9.1 - Release Date: 4/1/2005
      Your message has been successfully submitted and would be delivered to recipients shortly.