一段奇怪的代码,,,
<script language="JavaScript" type="text/javascript"><!--
var fadeimages=new Array();
fadeimages[0]="images/1.jpg";
fadeimages[1]="images/2.jpg";
fadeimages[2]="images/3.jpg";
fadeimages[3]="images/4.jpg";
fadeimages[4]="images/5.jpg";
var preloadedimages=new Array();
for(p=0;p<fadeimages.length;p++);{
preloadedimages[p]=new Image();
preloadedimages[p].src=fadeimages[p];
}function showimage() {
var TransEffect=parseInt(Math.random()*23); img.filters.item(0).Transition=TransEffect;
img.filters.item(0).Apply();
img.src=fadeimages[parseInt(Math.random()*5)];
img.filters.item(0).Play();
setTimeout("showimage()",5000) ;
}
</script>
<img id="img" src="" style="filter:revealTrans(Transition=0,Duration=3)" />
地址:http://rxp.hy00.com/home/rxp/1/
打开网页第一个图片显示是红X,,为什么??着急呀,,,