Loading screen for an image
i can make loading screens for text documents but, how can i make a loading screen for images (<img>) ?
How are you doing it for text?
are you looking to have an image on a page which displays something like "loading" then shows the image when it has completed loading?
Set the visibility of the image to hidden then use the onload function of the IMG tag to set the visibility when the image has finished loading, and to hide your text message.
SRC="images/animage.gif" ALT="loading image"
this shows you roughly how the function works.
Working web site is not the one that looks the same in a few graphical browsers, but the one that adequately delivers its content to any device accessing it.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)