imgUrl[1]="images/book1.jpg"; imgtext[1]="苏州北大青鸟招生简章"; imgLink[1]="read.doc"; imgUrl[2]="images/book2.jpg"; imgtext[2]="苏州北大青鸟招生简章"; imgLink[2]="read.doc"; imgUrl[3]="images/book3.jpg"; imgtext[3]="苏州北大青鸟招生简章"; imgLink[3]="read.doc"; imgUrl[4]="images/book4.jpg"; imgtext[4]="苏州北大青鸟招生简章"; imgLink[4]="read.doc"; var imgPre=new Array(); var count=0; for (i=1;i<=4;i++) { if( (imgUrl[i]!="") && (imgLink[i]!="") ) { count++; } else { break; } } function playTran(){ if (document.all) imgInit.filters.revealTrans.play(); } var key=0; function nextAd(){ if(adNum1)adNum-- ; else adNum=4; if( key==0 ){ key=1; } else if (document.all){ imgInit.filters.revealTrans.Transition=10; imgInit.filters.revealTrans.apply(); playTran(); } document.images.imgInit.src=imgUrl[adNum]; } function goUrl(){ window.open(imgLink[adNum],'_blank'); }
详细咨询