until image loads

JavaScript and client side scripting.

Moderator: General Moderators

User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

You mention the image is in a td table cell.. could you simply make the background of the cell a very small (filesize) gif? That way it'd load and display before the main image, and then be covered up by the proper image.

IE also had a special image attribute called lowsrc that loaded a lower quality version of an image then replaced it with a higher quality one later, but I've no idea if thats supported in more recent versions.
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

onion2k wrote: IE also had a special image attribute called lowsrc that loaded a lower quality version of an image then replaced it with a higher quality one later, but I've no idea if thats supported in more recent versions.
awesome
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

bit late replying but......

...it appears lowsrc is not supported anymore, in both IE and FF, lowsrc is never loaded
Post Reply