奥运搜狐幻灯片效果
觉得这个效果不错
见http://2004.sports.sohu.com
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>sohu</title>
</head>
<body>
<table width=190 border=0 cellpadding=0 cellspacing=0>
<tr><td align=center>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td>
<!--焦点图片开始-->
<script language=JavaScript>
var imgUrl=new Array();
var imgLink=new Array();
var imgTz=new Array();
var adNum=0;
imgUrl[1]="http://photo.sohu.com/20040827/Img221756640.jpg";
imgLink[1]="http://sports.sohu.com/s2004/1448/s221441448.shtml";
imgTz[1]="<a href=http://sports.sohu.com/s2004/1448/s221441448.shtml class=a01 target=_blank>郭晶晶轻取3米板金牌</a>";
imgUrl[2]="http://photo.sohu.com/20040827/Img221757543.jpg";
imgLink[2]="http://2004.sports.sohu.com/1/0404/83/subject220008349.shtml";
imgTz[2]="<a href=http://2004.sports.sohu.com/1/0404/83/subject220008349.shtml class=a01 target=_blank>中国女排3-2险胜古巴晋级决赛</a>";
imgUrl[3]="http://photo.sohu.com/20040826/Img221755036.jpg";
imgLink[3]="http://2004.sports.sohu.com/1/0404/84/subject220008405.shtml";
imgTz[3]="<a href=http://2004.sports.sohu.com/1/0404/84/subject220008405.shtml class=a01 target=_blank>中国男篮负立陶宛无缘四强</a>";
imgUrl[4]="http://photo.sohu.com/20040826/Img221754571.jpg";
imgLink[4]="http://sports.sohu.com/s2004/2841/s221752841.shtml";
imgTz[4]="<a href=http://sports.sohu.com/s2004/2841/s221752841.shtml class=a01 target=_blank>224名奥运健儿凯旋</a>";
imgUrl[5]="http://photo.sohu.com/20040817/Img221577107.gif";
imgLink[5]="http://www.lenovo2008.com/";
imgTz[5]="<a href=http://www.lenovo2008.com/ class=a01 target=_blank> </a>";
var imgPre=new Array();
var j=0;
for (i=1;i<=5;i++) {
if( (imgUrl[i]!="") && (imgLink[i]!="") ) {
j++;
} else {
break;
}
}
function playTran(){
if (document.all)
imgInit.filters.revealTrans.play();
}
var key=0;
function nextAd(){
if(adNum<j)adNum++ ;
else adNum=1;
if( key==0 ){
key=1;
} else if (document.all){
imgInit.filters.revealTrans.Transition=6;
imgInit.filters.revealTrans.apply();
playTran();
}
document.images.imgInit.src=imgUrl[adNum];
document.getElementById('jdtz').innerHTML=imgTz[adNum];
theTimer=setTimeout("nextAd()", 6000);
}
function goUrl(){
jumpUrl=imgLink[adNum];
jumpTarget='_blank';
if (jumpUrl != ''){
if (jumpTarget != '')
window.open(jumpUrl,jumpTarget);
else
location.href=jumpUrl;
}
}
</script>
<a href="javascript:goUrl()"><img style="FILTER: revealTrans(duration=2,transition=20); border=0" src="javascript:nextAd()" alt=2004雅典奥运会动态焦点图 width=190 height=250 border=1 class=img05 name=imgInit></a>
</td></tr>
</table>
</td></tr>
<tr>
<td height=18 align=center id=jdtz></td>
</tr>
<tr><td class=a01 align=center valign=top><a href=http://index.sports.sohu.com/photo/index.html class=ann target=_blank><FONT color=#d0d0d0>图片</font></a> | <a href=http://2004.sports.sohu.com/s2004/3408/s221393408.shtml class=ann target=_blank><FONT color=#d0d0d0>FLASH</font></a> | <a href=/s2004/8583/s221428583.shtml class=ann target=_blank><FONT color=#d0d0d0>幻灯片</font></a></td></tr>
</table>
</body>
</html>