有什么问题请到<a href='/bbs/forums.php?fid=21'>论坛</a>中发表<br>
<!-- 把如下代码加入<body>区域中 -->
<!-- http://www.webjx.com/js -->
<!-- bbs http://www.webjx.com/bbs-->
<script language=JavaScript>
<!-- // BannerAD
var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;
bannerAD[0]="/img/200406301.jpg";
bannerADlink[0]="/js";
bannerAD[1]="/img/200406302.jpg";
bannerADlink[1]="/js";
bannerAD[2]="/img/200406303.jpg";
bannerADlink[2]="/js";
bannerAD[3]="/img/200406304.jpg";
bannerADlink[3]="/js";
bannerAD[4]="/img/200406305.jpg";
bannerADlink[4]="/js";
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];
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>
<table border="0" cellspacing="6" cellpadding="1">
<tr>
<td bgcolor="#FFFFFF"><A onmouseover="displayStatusMsg();return document.returnValue" href="javascript:jump2url()"><IMG style="FILTER: revealTrans(duration=2,transition=20)" height=200 src="/img/200306301.jpg" width=150 border=0 name=bannerADrotator></A>
<SCRIPT language=JavaScript>nextAd()</SCRIPT></td>
</tr>
</table>
[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]