I am new to java and have created a small image gallery using thumbnals and "onmousedown" to display the larger image alongside the thumbnails. I have also made the images preload but the are stored in a mysql database. Don't know if this makes any difference. However, in firefox I can click on a thumbnail and the image is displayed immediately but in IE it takes a while and if the user doesn't look at the bottom of the screen to see that it is requesting a url they wouldn't think it was going to change and would probably just go to another site.
Is there any simple way that I can make a small animated gif appear whilst the image loads on each click? but without them having to wait 20 seconds for the gif to display either.