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

5417Re: [NH] displying a meassage while an image is loading

Expand Messages
  • melchior prisi
    Feb 18, 2006
    • 0 Attachment
      Hi Mike

      ----- on 13.02.2006 17:35 Mike Breiding - Morgantown WV wrote:
      > I should have said:
      > "Is it possible to have a message display while an image is *loading*.

      If the message is displayed in this case:
      <img src="image.gif" alt="message">
      depends on the browser your visitors use.


      To show a message to all visitors you
      might try something like this:

      --------------------------------------
      <html>
      <head>
      <style type="text/css"><!--
      #adiv {
      position:relative;
      width:200px;
      height:50px;}
      #adiv img {
      display:block;
      width:200px;
      height:50px;
      position:absolute;
      left:0;top:0;
      }
      //--></style>
      </head>
      <body>

      <div id="adiv">message<img src="image.gif"></div>

      </body>
      </html>

      --------------------------------------

      position:relative for the surrounding div is needed
      to position the image relative to the div and not
      to the window.



      Regards,
      Melchior
      --
    • Show all 13 messages in this topic