1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Img Src (preloading)

Discussion in 'HTML & Website Design' started by redhits, Aug 6, 2007.

  1. #1
    I remeber that HTML have an option for IMG SRC to load 2 image, one at a lower quality then another one at a higher quality after the first one it's complety loaded...
    SEMrush

    How do i this
    IMG SRC="final" .... "pre-load.jpg"
     
    redhits, Aug 6, 2007 IP
    Alvin likes this.
    SEMrush
  2. Alvin

    Alvin Notable Member

    Messages:
    2,076
    Likes Received:
    164
    Best Answers:
    0
    Trophy Points:
    210
    #2
    <IMG    SRC="../graphics/paulonbike.gif" 
       LOWSRC="../graphics/paulonbike_lowsrc.gif" 
       HEIGHT=378 WIDTH=516 ALT="A bike and his boy">
     
    Alvin, Aug 6, 2007 IP
    redhits likes this.
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ^But without the caps, spaces, an end tag (/>) and quotation marks around the width and height numbers (height="431") for html4-xhtml1-strict compliance.
     
    Stomme poes, Aug 7, 2007 IP
  4. Divisive Cottonwood

    Divisive Cottonwood Peon

    Messages:
    1,674
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I don't think LOWSRC is valid XHTML markup at all - I presume it is in HTML though
     
    Divisive Cottonwood, Aug 7, 2007 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'd never heard of it, but I'm still new enough that I'd never heard of select options before today either-- I didn't get that far in the book yet : )

    I don't see it listed on w3schools.
     
    Stomme poes, Aug 7, 2007 IP
  6. krt

    krt Well-Known Member

    Messages:
    829
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    120
    #6
    Never heard of it either. Doesn't work for me in Firefox, haven't tried others.

    I'd rather use JS to preload the image and change the image src attribute.
     
    krt, Aug 7, 2007 IP