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

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

Expand Messages
  • dave
    Hi As far as I know the ALT shows up for people who turn there images off for faster browsing, I would think you need to add some sort off script to your page
    Message 1 of 13 , Feb 14, 2006
      Hi
      As far as I know the ALT shows up for people who turn there images off for
      faster browsing, I would think you need to add some sort off script to your
      page to do that ,the size of the image means the browser has to think less
      all though I would have thought the ALT info would appear as soon as the
      page loads the actual image comes last .
      THANKYOU DAVE M

      ----- Original Message -----
      From: "Mike Breiding - Morgantown WV" <mike@...>
      To: <ntb-html@yahoogroups.com>
      Sent: Tuesday, February 14, 2006 11:29 PM
      Subject: RE: [NH] displying a message while an image is loading


      > At 09:42 PM 2/13/2006 , John Wallace wrote:
      >>Might try adding the dimensions of the pics to the img src tag.
      >>The browser will usually put the alt text in there if it doesn't have to
      >>interpet the dimensions of the pic.
      >
      > For me this seemed the most practical. I added the dimensions but still
      > not
      > ALT or TITLE display while loading.
      >
      > I *know* I have seen this happen before.
      >
      >
      > Thanks to all.
      >
      > -Mike
      >
      > [Non-text portions of this message have been removed]
      >
      >
      >
      > CSE HTML Validator Lite - it's free:
      > http://home.earthlink.net/~5wink/dl/cselite652.exe
      >
      > Fookes Software Home: http://www.fookes.us/redir
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
      >
      >
    • Don - HtmlFixIt.com
      ... often it is flash or javascript that runs the load bar
      Message 2 of 13 , Feb 14, 2006
        Mike Breiding - Morgantown WV wrote:
        > At 09:42 PM 2/13/2006 , John Wallace wrote:
        >> Might try adding the dimensions of the pics to the img src tag.
        >> The browser will usually put the alt text in there if it doesn't have to
        >> interpet the dimensions of the pic.
        >
        > For me this seemed the most practical. I added the dimensions but still not
        > ALT or TITLE display while loading.
        >
        > I *know* I have seen this happen before.
        >
        often it is flash or javascript that runs the load bar
      • melchior prisi
        Hi Mike ... If the message is displayed in this case: depends on the browser your visitors use. To show a message to all
        Message 3 of 13 , Feb 18, 2006
          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
          --
        Your message has been successfully submitted and would be delivered to recipients shortly.