I want to display loading.gif on a webpage for 1 second and than change it to another .gif that will be displayed on page permanently. While loading.gif is displayed, I don't actually want to pre-load the main.gif, I want it to start loading for the user when it is actually displayed. $5 paypal to the one that gives me the code.
I guess you could create a gif. You can add a layer for a second, with the loading image, and then show the image itself and stop there.
Done. here you go: http://jsfiddle.net/n7MPT/ change window.setTimeout(show_popup, 3000); to window.setTimeout(show_popup, 1000); for 1 seconds, the number is in milliseconds. Paypal is ShaneShuford [at] Gmail.com