提示:您可以先修改部分代码再运行
<HTML><HEAD><TITLE>变化</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=Javascript>
var bannerAD=new Array();
var bannerADlink=new Array();
var bannerADtarget=new Array();
var bannerADcontent=new Array();
var adNum=0;
<!-- ad_mms -->
bannerAD[1]="http://bbs./images/default/logo.gif";
bannerADlink[1]="http://bbs.";
bannerADtarget[1]="ad";
bannerADcontent[1]="无忧脚本";
<!-- market -->
bannerAD[0]="http://www.baidu.com/img/logo.gif";
bannerADlink[0]="http://www.baidu.com";
bannerADtarget[0]="ad";
bannerADcontent[0]="百度";
function setTransition(){
if (document.all){
bannerADrotator.filters.revealTrans.Transition=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];
document.all.uk.innerText=bannerADcontent[adNum];
playTransition();
theTimer=setTimeout("nextAd()", 5000);
}
function jump2url(){
jumpUrl=bannerADlink[adNum];
jumpTarget=bannerADtarget[adNum];
window.open(jumpUrl,jumpTarget);
}
function displayStatusMsg() {
status=bannerADlink[adNum];
document.returnValue = true;
}
</SCRIPT>
</HEAD>
<BODY topmargin="0" leftmargin="0">
<A onmouseover="displayStatusMsg();return document.returnValue" href="javascript:jump2url()" onFocus="if(this.blur)this.blur
()"><img style="FILTER:revealTrans(duration=1,transition=23)" src="http://bbs./images/default/logo.gif" width="191"
height="75" border="0" name=bannerADrotator></a><br>
<span id="uk">无忧脚本</span>
<script language=JavaScript>nextAd()</script>
</BODY></HTML>
提示:您可以先修改部分代码再运行