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];
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-color:black;color:#000000" src="javascript:nextAd()" width=258 height=230 border=1 class=b1 name=imgInit></a>
<!-- 動(dòng)態(tài)圖結(jié)束 -->
*********************************************************************************************************************************************************************************************
<script language="JavaScript">
<!--
function objSP_Article() {this.ImgUrl=""; this.LinkUrl=""; this.Title="";}
function SlidePic_Article(_id) {this.ID=_id; this.Width=0;this.Height=0; this.TimeOut=5000; this.Effect=23; this.TitleLen=0; this.PicNum=-1; this.Img=null; this.Url=null; this.Title=null; this.AllPic=new Array(); this.Add=SlidePic_Article_Add; this.Show=SlidePic_Article_Show; this.LoopShow=SlidePic_Article_LoopShow;}
function SlidePic_Article_Add(_SP) {this.AllPic[this.AllPic.length] = _SP;}
function SlidePic_Article_Show() {
if(this.AllPic[0] == null) return false;
document.write("<div align=‘center‘><a id=‘Url_" + this.ID + "‘ href=‘‘><img id=‘Img_" + this.ID + "‘ style=‘width:" + this.Width + "px; height:" + this.Height + "px; filter: revealTrans(duration=2,transition=23);‘ src=‘javascript:null‘ border=‘0‘></a>");
if(this.TitleLen != 0) {document.write("<br><span id=‘Title_" + this.ID + "‘></span></div>");}
else{document.write("</div>");}
this.Img = document.getElementById("Img_" + this.ID);
this.Url = document.getElementById("Url_" + this.ID);
this.Title = document.getElementById("Title_" + this.ID);
this.LoopShow();
}
function SlidePic_Article_LoopShow() {
if(this.PicNum<this.AllPic.length-1) this.PicNum++ ;
else this.PicNum=0;
this.Img.filters.revealTrans.Transition=this.Effect;
this.Img.filters.revealTrans.apply();
this.Img.src=this.AllPic[this.PicNum].ImgUrl;
this.Img.filters.revealTrans.play();
this.Url.href=this.AllPic[this.PicNum].LinkUrl;
if(this.Title) this.Title.innerHTML="<a href="+this.AllPic[this.PicNum].LinkUrl+" target=_blank>"+this.AllPic[this.PicNum].Title+"</a>";
this.Img.timer=setTimeout(this.ID+".LoopShow()",this.TimeOut);
}
//-->
</script>
<script language=JavaScript>
<!--
var SlidePic_129 = new SlidePic_Article("SlidePic_129");
SlidePic_129.Width = 250;
SlidePic_129.Height = 180;
SlidePic_129.TimeOut = 5000;
SlidePic_129.Effect = 23;
SlidePic_129.TitleLen = 40;
var oSP = new objSP_Article();
oSP.ImgUrl = "/yzzx/Article/UploadFiles/200703/20070322154152536.jpg";
oSP.LinkUrl = "/yzzx/Article/ShowArticle.asp?ArticleID=379";
oSP.Title = "我校被評(píng)為03—06年度平安建設(shè)先進(jìn)集體";
SlidePic_129.Add(oSP);
var oSP = new objSP_Article();
oSP.ImgUrl = "/yzzx/Article/UploadFiles/200703/20070320101125555.jpg";
oSP.LinkUrl = "/yzzx/Article/ShowArticle.asp?ArticleID=378";
oSP.Title = "南京秦淮區(qū)教育代表團(tuán)和南航附中分別來(lái)我校…";
SlidePic_129.Add(oSP);
var oSP = new objSP_Article();
oSP.ImgUrl = "/yzzx/Article/UploadFiles/200703/20070314110537934.jpg";
oSP.LinkUrl = "/yzzx/Article/ShowArticle.asp?ArticleID=377";
oSP.Title = "全神貫注創(chuàng)佳績(jī),凝心聚力謀發(fā)展";
SlidePic_129.Add(oSP);
var oSP = new objSP_Article();
oSP.ImgUrl = "/yzzx/Article/UploadFiles/200703/20070309112505750.jpg";
oSP.LinkUrl = "/yzzx/Article/ShowArticle.asp?ArticleID=376";
oSP.Title = "我校黨委制定《關(guān)于黨風(fēng)廉政建設(shè)責(zé)任制的實(shí)…";
SlidePic_129.Add(oSP);
SlidePic_129.Show();
//-->
</script>