图片的特效怎么制作,使图片一张一张的向上翻,谢谢。
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK
href="inc/css.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript>
var bannerAD=new Array();
var bannerADlink=new Array();
var bannerADTitle=new Array();
var adNum=0;
bannerAD[0]="images/index2_18.jpg";
bannerADlink[0]="#";
bannerADTitle[0]="";
bannerAD[1]="images/index2_182.jpg";
bannerADlink[1]="#";
bannerADTitle[1]="";
bannerAD[2]="images/index2_183.jpg";
bannerADlink[2]="#";
bannerADTitle[2]="";
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];
BadTitle.innerHTML='<a href="' + bannerADlink[adNum] +'" target="_blank">' + bannerADTitle[adNum] + '</a>';
playTransition();
theTimer=setTimeout("nextAd()", 5000);
}
function jump2url(){
jumpUrl=bannerADlink[adNum];
jumpTarget='_blank';
if (jumpUrl != ''){
if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
else location.href=jumpUrl;
}
}
function displayStatusMsg() {
status=bannerADlink[adNum];
document.returnValue = true;
}
</SCRIPT>
<STYLE type=text/css>BODY {
MARGIN-TOP: 0px; MARGIN-LEFT: 0px
}
</STYLE>
<META content="MSHTML 6.00.2800.1498" name=GENERATOR></HEAD>
<BODY bgcolor="#FFFFFF">
<DIV align=center>
<TABLE width=224 height=186 border=0 cellPadding=0 cellSpacing=0 bgcolor="#FFFFFF">
<TBODY>
<TR>
<TD width="175" height="169" align=middle vAlign=center>
<div align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><a
onMouseOver="displayStatusMsg();return document.returnValue"
href="javascript:jump2url()">
<img src="../../%D5%F2%BA%A3%C7%F8%BD%A8%C9%E8%D3%EB%BD%BB%CD%A8%BE%D6/images/Spacer.gif" name=bannerADrotator width=224 height=169 border=0 class="2" style="FILTER: revealTrans(duration=2,transition=20)"></a></div></td>
</tr>
</table>
</div></TD></TR>
<TR>
<TD align=middle>
<DIV id=BadTitle align=center name="BadTitle">
<SCRIPT language=JavaScript>nextAd()</SCRIPT>
</DIV></TD></TR></TBODY></TABLE>
</DIV>
</BODY></HTML>