除了我昨天发的首页外,内页的一个自动变化图片也无法显示,网页刚打开时可出现图片,待执行到统计代码后,就同样出现undefined,图片显示不出来,但变化还在。
链接地址不让帖,我就把代码帖在下面,请ADMIN帮看看应如何改改这个图片特效:
<script language=JavaScript>
<!--
TitlePics = new Array();
Titles = new Array();
<% CALL img_list611("089经验技艺",1,6) %>
var i = 0;
var mytimeout;
function playTitlePics() {
if(TitlePics.length == 1){
span_titlepics.filters[0].apply();
span_titlepics.innerHTML = TitlePics[0];
span_titlepics.filters[0].play();
span_titles.innerHTML = Titles[0];
}else{
if (i == TitlePics.length-1) i = 0; else i++;
span_titlepics.filters[0].apply();
span_titlepics.innerHTML = TitlePics;
span_titlepics.filters[0].play();
span_titles.innerHTML = Titles;
mytimeout = setTimeout('playTitlePics()',4500);
}
}
//-->
</script>
<span id="span_titlepics" style="FILTER: progid: DXImageTransform.Microsoft.Wipe(duration=2, gradientsize=0.25,motion=reverse); WIDTH=230">
<img width="230" src="javascript:playTitlePics()" height="221" border=0></span> |