0byt3m1n1
Path:
C:
/
GEOMATICS 23-01-2021
/
LAN
/
drought
/
image
/
[
Home
]
File: slideshow.html
<html> <head> <script type="text/javascript"> var image1=new Image() image1.src="Image016.jpg" var image2=new Image() image2.src="Image029.jpg" var image3=new Image() image3.src="Image030.jpg" </script> </head> <body> <img src="Image016.jpg" name="slide" width="700" height="500" /> <script> //variable that will increment through the images var step=1 function slideit(){ //if browser does not support the image object, exit. if (!document.images) return document.images.slide.src=eval("image"+step+".src") if (step<3) step++ else step=1 //call function "slideit()" every 2.5 seconds setTimeout("slideit()",2500) } slideit() </script> </body> </html> </body> </html>