|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
my main image is heavy, so i would like to load a lighter alternative image till the original one loads and once the original one loads it should replace the lighter alternative image ...
think anyone can help ------------------ |
|
#2
|
|||
|
|||
|
Wow.. that takes me back.
The IMG attribute you're looking for is LOWSRC="URL". Zeldman did some fancy effect by having a B&W silheoutte, replaced with a photo. Just so you know, LOWSRC isn't in the HTML4 spec, it was in 3.2 though. I guess they aim to replace it with resolution independant file formats like JPEG2000. |
|
#3
|
|||
|
|||
|
That sounds all right, however you should be concerned about cross-browser compatibility. I recommend using progressive .jpg's or interlaced .gif's where the same effect is used but it relies soley on the image, which are supported universally, as opposed to an old HTML tag that might not be supported. But if compatibility doesn't concern you, use the lowsrc tag.
-Colin Anderson HTML etc. http://www.htmletc.net/ |
|
#4
|
|||
|
|||
|
that means lowsrc tag will not work in 4+ NN and 5+ IE ?
Further can you elaborate a little on progressive Jpg's and interlaced Gifs if the gif has more than one frame..... if you have only one frame gif then interlacing is possible. await help <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by colin_anderson: That sounds all right, however you should be concerned about cross-browser compatibility. I recommend using progressive .jpg's or interlaced .gif's where the same effect is used but it relies soley on the image, which are supported universally, as opposed to an old HTML tag that might not be supported. But if compatibility doesn't concern you, use the lowsrc tag. -Colin Anderson HTML etc. http://www.htmletc.net/ [/quote] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > alternative image till original loads |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|