<td width="289"><table border='0' align="center" cellpadding='5' cellspacing='0' bgcolor='#FFFFFF'>
<tr>
<td><img border=0 width=197 height=151 src='uploadfile/_intro/20052611241216.jpg' name=bannerADrotator style='FILTER: revealTrans(duration=2,transition=20)'> </td>
</tr>
</table>
<script language=JavaScript>
<!-- // 新闻图片过渡效果
var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;
bannerAD[0]="uploadfile/_intro/20052611241216.jpg";
bannerADlink[0]="ReadNews.asp?NewsID=447";
bannerAD[1]="uploadfile/_intro/20052611924585.jpg";
bannerADlink[1]="ReadNews.asp?NewsID=451";
bannerAD[2]="uploadfile/_intro/200526111455173.jpg";
bannerADlink[2]="ReadNews.asp?NewsID=452";
bannerAD[3]="uploadfile/_intro/200531321323258.jpg";
bannerADlink[3]="ReadNews.asp?NewsID=522";
bannerAD[4]="uploadfile/_intro/2005422181059274.jpg";
bannerADlink[4]="ReadNews.asp?NewsID=557";
bannerAD[5]="uploadfile/_intro/200542218169783.jpg";
bannerADlink[5]="ReadNews.asp?NewsID=558";
bannerAD[6]="uploadfile/_intro/2005422181731536.jpg";
bannerADlink[6]="ReadNews.asp?NewsID=559";
var preloadedimages=new Array();
for (i=1;i<bannerAD.length;i++){
preloadedimages[i]=new Image();
preloadedimages[i].src=bannerAD[i];
}
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(adNum<bannerAD.length-1)adNum++ ;
else adNum=0;
setTransition();
document.images.bannerADrotator.src=bannerAD[adNum];
playTransition();
theTimer=setTimeout("nextAd()", 8000);
}
function jump2url(){
jumpUrl=bannerADlink[adNum];
jumpTarget='';
if (jumpUrl != ''){
if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
else location.href=jumpUrl;
}
}
function displayStatusMsg() {
status=bannerADlink[adNum];
document.returnValue = true;
}
nextAd()
//-->
</script>
</td>
更多的[原创]新闻图片过渡效果请到论坛查看: http://BBS.TC711.COM
【 双击滚屏 】 【 评论 】 【 收藏 】 【 打印 】 【 关闭 】
来源:
互联网
日期:2006-5-20