2个回答
2013-06-09
展开全部
<script language="JavaScript" type="text/javascript">
<!-- // BannerAD var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0; bannerAD[0]="images/e.jpg";
bannerADlink[0]="#";
bannerAD[1]="images/b.jpg";
bannerADlink[1]="#";
bannerAD[2]="images/c.jpg";
bannerADlink[2]="#";bannerAD[3]="images/d.jpg";
bannerADlink[3]="#";bannerAD[4]="images/e.jpg";
bannerADlink[4]="#";bannerAD[5]="images/f.jpg";
bannerADlink[5]="#";bannerAD[6]="images/b.jpg";
bannerADlink[6]="#";bannerAD[7]="images/c.jpg";
bannerADlink[7]="#";bannerAD[8]="images/d.jpg";
bannerADlink[8]="#"; 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>
<a onMouseOver="displayStatusMsg();return document.returnValue" href="javascript:jump2url()"><img src="a.jpg"
name="bannerADrotator" width="282" height="203" border="0" id="bannerADrotator"
style="FILTER: revealTrans(duration=2,transition=20)" /></a>
<script language="JavaScript" type="text/javascript">nextAd()</script>
<!-- // BannerAD var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0; bannerAD[0]="images/e.jpg";
bannerADlink[0]="#";
bannerAD[1]="images/b.jpg";
bannerADlink[1]="#";
bannerAD[2]="images/c.jpg";
bannerADlink[2]="#";bannerAD[3]="images/d.jpg";
bannerADlink[3]="#";bannerAD[4]="images/e.jpg";
bannerADlink[4]="#";bannerAD[5]="images/f.jpg";
bannerADlink[5]="#";bannerAD[6]="images/b.jpg";
bannerADlink[6]="#";bannerAD[7]="images/c.jpg";
bannerADlink[7]="#";bannerAD[8]="images/d.jpg";
bannerADlink[8]="#"; 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>
<a onMouseOver="displayStatusMsg();return document.returnValue" href="javascript:jump2url()"><img src="a.jpg"
name="bannerADrotator" width="282" height="203" border="0" id="bannerADrotator"
style="FILTER: revealTrans(duration=2,transition=20)" /></a>
<script language="JavaScript" type="text/javascript">nextAd()</script>
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2013-06-09
展开全部
使用DW 中的命令-行为-图像交换功能
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询