My connection is so fast and Opera is so good at loading images that I didn't even see it. Thinking it was some IE specific thing, I tried in IE. That slowed it down just enough so I could see what you are talking about. That effect is done by having an animated .gif as the src attribute of the image. Once the 'real image' is available, it replaces the loading image. Actually, this doesn't work in Opera anyway, come to think of it but, should work in FF and IE. All you do is write out your image tag as:
HTML Code:
<img id="im1" src="loading.gif">
Then, when it comes time to reveal it and load the other image, just make its style display block or its visibility visible - whatever, and then change its src equal to the 'real' image.
A nice touch is to have preloaded the loading.gif already. Lightbox does this in a way that even works in Opera:
http://www.dynamicdrive.com/dynamici...box2/index.htm
Bookmarks