错误太多,也不知道你是要实现个什么效果,
你看看注释吧<html>
<head><title>JavaScript 的动画入门</title></head>
<SCRIPT LANGUAGE="JavaScript">
<!--
delay = 1000;
imageNum  = 0;
//var theImages
theImages = new Array()//变量命名不能有空格
for(i=0;i<4;i++){
theImages[i] = new Image();
theImages[i].src = "image" + "i" + ".gif";
}
function animation()//function 少了个“t”
{
document.all.animation.scr = theImages[imageNum].scr //document写错了,theImages少了个s
imageNum++
if(imageNum>3){
imageNum = 0
}
}
function slower()//function 少了个“t”
{
delay +=100
if(delay>4000)delay = 4000
}
function faster()//function 少了个“t”
{
delay -=100
if(delay<0)delay = 0
}
//-->
</SCRIPT>
<BODY BGCOLOR="white">
<IMG SRC="image0.gif" name="animation" HEIGHT="112"WIDTH="123" ALT ="[Animation]" ONLOAD="setTimeout('animation()',delay)" BORDER="2"HSPACE="15">
<!-- 函数名写错了animation() -->
<FORM>
  <INPUT TYPE="button" VALUE="shang" ONCLICK="slower()">
  <INPUT TYPE="button" VALUE="yong" ONCLICK="faster()">
</FORM>
</BODY>
</HTML>