Displaying one image at a time
Posted: Tue Dec 02, 2003 11:24 am
I want to display a few images on the screen - 1 at a time.
Meaning:
display the first image
wait one second
display the second image
wait one second
display the third image
I dont think this is the best way to do this. One thing I notice is the mouse hase the hourglass symbol, like the page is still loading.
Does anyone have any suggestions.
Meaning:
display the first image
wait one second
display the second image
wait one second
display the third image
Code: Select all
<?php
echo "<img src='image_1' width=320 height=240>";
flush(); sleep(1);
echo "<img src='image_2' width=320 height=240>";
flush(); sleep(1);
echo "<img src='image_3' width=320 height=240>";
flush(); sleep(1);
?>Does anyone have any suggestions.