帮忙改下这个代码
我在首页把视频广告去掉了.找了个轮显广告代码,不知怎么修改放上去,请高手帮忙改下:代码如下:<html>
<head>
<title>图片变换特效广告代码</title>
</head>
<table width="770"border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="180" height="12" valign="top"> <table width="100%"border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="6"></td>
</tr>
<script language=JavaScript>
<!--
var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;
bannerAD="mf1_006.jpg";
bannerADlink="desk/1237/1275/1.htm"
bannerAD="hell1_009.jpg";
bannerADlink="http://www.admin5.com"
bannerAD="is1_004.jpg";
bannerADlink="http://www.admin5.com"
bannerAD="mega1_013.jpg";
bannerADlink="http://www.admin5.com"
var preloadedimages=new Array();
for (i=1;i<bannerAD.length;i++){
preloadedimages=new Image();
preloadedimages.src=bannerAD;
}
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;
playTransition();
theTimer=setTimeout("nextAd()", 4000);
}
function jump2url(){
jumpUrl=bannerADlink;
jumpTarget='_blank';
if (jumpUrl != ''){
if (jumpTarget != '')window.open(jumpUrl,jumpTarget);
else location.href=jumpUrl;
}
}
function displayStatusMsg() {
status=bannerADlink;
document.returnValue = true;
}
//-->
</script>
<tr>
<td align="center"><tableborder="0" cellpadding="1" cellspacing="6" bgcolor="#E8E8E8">
<tr>
<td bgcolor="#FFFFFF"><ahref="javascript:jump2url()"><img src="search_banner.gif"
name=bannerADrotator width=270 height=214 border=0 align="middle"
style="FILTER: revealTrans(duration=2,transition=40)"></a>
<script language=JavaScript>nextAd()</script></td>
</tr>
</table></td>
</tr>
<tr>
<td height="6"></td>
</tr>
</table>
</body></html> 你的代码没放对位置 不对,你这个代码是一个演示页面,你得把里边的关于幻灯片的代码取出来 我知道是演示,我找不见显示幻灯片坐标在哪改
页:
[1]