<html>
<head>
<title>Timers</title>
<script type="text/javascript">
var ct = 0;
var imgs = new Array("a.gif","b.gif","c.gif");
setTimeout("progress()",3000);
function progress() {
if (ct < 3) {
document.images[0].src=imgs[ct];
ct++;
setTimeout("progress()",3000);
}
}
</script>
</head>
<body>
<img src="d.gif" />
</body>
</html>
|