<HTML> <HEAD> <TITLE>Animation</TITLE> <SCRIPT TYPE="text/javascript"> <!-- if(navigator.appVersion.charAt(0)>=3){ img=new Array() img[0] = new Image();img[0].src='image/tbear_l.gif'; img[1] = new Image();img[1].src='image/tbear_r.gif'; img[2] = new Image();img[2].src='image/tbear.gif'; }; t=1000;//Animation speed function changImg(){ if(navigator.appVersion.charAt(0)>=3){ document.anime.src=img[i].src i++; if (i == 3){i = 0;} setTimeout("changImg()",t) } } //--> </SCRIPT> </HEAD> <BODY onLoad="changImg()"> <IMG SRC="image/tbear.gif" NAME="anime" WIDTH="52" HEIGHT="64" ALT="テディベア"> </BODY> </HTML> |