|
|
Q1285 How can I display 50 images one after another, with an eight second delay between the display of one image and the next?
irt.org | Knowledge Base | JavaScript | Image | Q1285 [ previous next ] Q1285 How can I display 50 images one after another, with an eight second delay between the display of one image and the next?Have two images, one visible - one invisible. In the visible image first load a blank image. At the same time, start loading the first image in the sequence into the invisible image. When it has loaded, swap it into the visible image. Start loading the next image in the sequence. Now all you need to do is add in the 8 second delay. Only swap the image is the 8 second timer has expired:
Feedback on 'Q1285 How can I display 50 images one after another, with an eight second delay between the display of one image and the next?' |
-- div -->
|