下面代码,用于翻动新闻:
<script language=JavaScript> var imgUrl=new Array(); var imgLink=new Array(); var imgText=new Array(); var imgText=new Array(); var adNum=0; var ImageUrl=document.forms[0].ImageUrl.value; var LinkUrl=document.forms[0].ImageLink.value; var AllImage=ImageUrl.split(','); var AllLink=LinkUrl.split(','); for(var i=1;i<=AllImage.length;i++){ imgUrl[i]=AllImage[i-1]; imgLink[i]=AllLink[i-1]; imgText[i]=""; } var imgPre=new Array(); var j=0; for (i=1;i<=AllImage.length;i++) { if( (imgUrl[i]!="") && (imgLink[i]!="") ) { j++; } else { break; } } function playTran(){ if (document.all) var imgInit=document.getElementById("imgInit"); imgInit.filters.revealTrans.play(); } var key=0; function nextAd(){ if(adNum <%@ Control Language="c#" AutoEventWireup="false" Codebehind="Advertise.ascx.cs" Inherits="wxweb.UserControl.Advertise" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%> <script language=JavaScript> var imgUrl=new Array(); var imgLink=new Array(); var imgText=new Array(); var imgText=new Array(); var adNum=0; var ImageUrl=document.forms[0].ImageUrl.value; var LinkUrl=document.forms[0].ImageLink.value; var AllImage=ImageUrl.split(','); var AllLink=LinkUrl.split(','); for(var i=1;i<=AllImage.length;i++){ imgUrl[i]=AllImage[i-1]; imgLink[i]=AllLink[i-1]; imgText[i]=""; } var imgPre=new Array(); var j=0; for (i=1;i<=AllImage.length;i++) { if( (imgUrl[i]!="") && (imgLink[i]!="") ) { j++; } else { break; } } function playTran(){ if (document.all) var imgInit=document.getElementById("imgInit"); imgInit.filters.revealTrans.play(); } var key=0; function nextAd(){ if(adNum
<script language=JavaScript> var imgUrl=new Array(); var imgLink=new Array(); var imgText=new Array(); var imgText=new Array(); var adNum=0; var ImageUrl=document.forms[0].ImageUrl.value; var LinkUrl=document.forms[0].ImageLink.value; var AllImage=ImageUrl.split(','); var AllLink=LinkUrl.split(','); for(var i=1;i<=AllImage.length;i++){ imgUrl[i]=AllImage[i-1]; imgLink[i]=AllLink[i-1]; imgText[i]=""; } var imgPre=new Array(); var j=0; for (i=1;i<=AllImage.length;i++) { if( (imgUrl[i]!="") && (imgLink[i]!="") ) { j++; } else { break; } } function playTran(){ if (document.all) var imgInit=document.getElementById("imgInit"); imgInit.filters.revealTrans.play(); } var key=0; function nextAd(){ if(adNum <%@ Control Language="c#" AutoEventWireup="false" Codebehind="Advertise.ascx.cs" Inherits="wxweb.UserControl.Advertise" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%> <script language=JavaScript> var imgUrl=new Array(); var imgLink=new Array(); var imgText=new Array(); var imgText=new Array(); var adNum=0; var ImageUrl=document.forms[0].ImageUrl.value; var LinkUrl=document.forms[0].ImageLink.value; var AllImage=ImageUrl.split(','); var AllLink=LinkUrl.split(','); for(var i=1;i<=AllImage.length;i++){ imgUrl[i]=AllImage[i-1]; imgLink[i]=AllLink[i-1]; imgText[i]=""; } var imgPre=new Array(); var j=0; for (i=1;i<=AllImage.length;i++) { if( (imgUrl[i]!="") && (imgLink[i]!="") ) { j++; } else { break; } } function playTran(){ if (document.all) var imgInit=document.getElementById("imgInit"); imgInit.filters.revealTrans.play(); } var key=0; function nextAd(){ if(adNum