|
楼主 |
发表于 2005-3-28 10:22
|
显示全部楼层
[求助]问题
[这个贴子最后由小楼春秋在 2005/03/28 10:28am 第 3 次编辑]
[html]<CENTER><TABLE cellSpacing=2 cellPadding=2 width=80% borderColorLight=#4000ff background=http://www.mii8888.com/sozai/miisozai/bg3/b6.jpg border=1><TR><TD><TABLE cellSpacing=2 cellPadding=10 width=100% borderColorLight=#4000ff background=http://www.softlead.com.cn/resource/background/back02/092.jpg border=0><TR><TD><body>
<script language="javascript">
<!--
if (document.all){
document.write('<img src="http://asp5.6to23.com/Rswellco/azisai1.gif" id="box">');
}
//-->
</script></CENTER>
<script language="javascript">
<!--
if (document.all){
pics=new Array("http://asp5.6to23.com/Rswellco/azisai1.gif","http://asp5.6to23.com/Rswellco/asagao3.gif","http://asp5.6to23.com/Rswellco/56/sakura0.gif","http://www.softlead.com.cn/resource/background/back02/092.jpg")//
//Transition speed. 4000 = 4 seconds etc.
delay=4000;
//Nothing needs altering paste here.
l=new Array()
for (i=0; i < pics.length;i++){
l=new Image()
l.src=pics
}
n="progidXImageTransform.Microsoft.";
f=new Array()
f[0]="Wheel(spokes=4)";
f[1]="Blinds(Bands=10,direction=up)";
f[2]="Stretch(stretchstyle=PUSH)";
f[3]="Stretch(stretchstyle=SPIN)";
f[4]="RadialWipe(wipestyle=RADIAL)";
f[5]="RadialWipe(wipestyle=WEDGE)";
f[6]="Checkerboard(Direction=right,SquaresX=8,SquaresY=8)";
f[7]="Fade(Overlap=1.00)";
f[8]="GradientWipe(GradientSize=0.25,wipestyle=0,motion=forward)";
f[9]="Iris(irisstyle=CIRCLE,motion=out)";
f[10]="Iris(irisstyle=STAR,motion=out)";
f[11]="Barn( motion=out,orientation=vertical)";
f[12]="Barn( motion=in,orientation=vertical)";
f[13]="Strips(motion=leftup)";
f[14]="Slide(slidestyle=HIDE,Bands=1)";
f[15]="Slide(slidestyle=PUSH,Bands=1)";
f[16]="Slide(slidestyle=SWAP,Bands=1)";
f[17]="RandomDissolve(duration=1)";
imgstep=0;
function ani(){
rnd=f[Math.floor(Math.random()*f.length)]
box.style.filter=n+rnd;
box.filters[0].apply();
box.src=l[imgstep].src;
box.filters[0].play();
imgstep++;
if (imgstep >= l.length) imgstep=0;
setTimeout("ani()",delay);
}
window.onload=new Function("setTimeout('ani()',delay)")
}
//-->
</script>
</body>
</td></table></td></table>[/html] |
|