81,092
社区成员
发帖
与我相关
我的任务
分享
<script language=JavaScript>
//设置图片变化
<!--
var bannerAD=new Array();
var adNum=0;
bannerAD[0]="http://www.google.cn/intl/zh-CN/images/logo_cn.gif";
bannerAD[1]="http://images.google.cn/intl/zh-CN_ALL/images/images_hp.gif";
bannerAD[2]="http://video.google.cn/common/logo_video.jpg?hl=zh-CN";
bannerAD[3]="http://news.google.cn/images/cn.gif";
function setTransition(){
if (document.all){
bannerADrotator.filters.revealTrans.Transition=Math.floor(Math.random()*23);
bannerADrotator.filters.revealTrans.apply();
}
}
function playTransition(){
if (document.all)
bannerADrotator.filters.revealTrans.play();
}
function nextAd(){
if(document.images.bannerADrotator.src == ""){
document.images.bannerADrotator.src=bannerAD[0];
}else{
if(adNum<bannerAD.length-1)adNum++ ;
else adNum=0;
setTransition();
document.images.bannerADrotator.src=bannerAD[adNum];
playTransition();
}
setTimeout("nextAd()", 5000);
}
//-->
</script>
<body onload="nextAd();">
<img style="FILTER: revealTrans(duration=2,transition=20)" border=0 name=bannerADrotator>
</body>