熙海啵啵

标题: 图片的幻灯片特效(各种效果) [打印本页]

作者: admin    时间: 2021-6-28 01:41
标题: 图片的幻灯片特效(各种效果)
复制
<!-- 把如下代码加入<body>区域中 -->
<!-- http://www.wosowoso.com/ -->
            <script language=JavaScript>
<!-- // BannerAD

var bannerAD=new Array();
var bannerADlink=new Array();
var adNum=0;

   bannerAD[0]="http://www.wosowoso.com/google/b2/jpg/i1.jpg";
   bannerADlink[0]="http://www.wosowoso.com/google/b2/";
   bannerAD[1]="http://www.wosowoso.com/google/b2/jpg/i2.jpg";
   bannerADlink[1]="http://www.wosowoso.com/google/b2/";
   bannerAD[2]="http://www.wosowoso.com/google/b2/jpg/i3.jpg";
   bannerADlink[2]="http://www.wosowoso.com/google/b2/";
   bannerAD[3]="http://www.wosowoso.com/google/b2/jpg/i4.jpg";
   bannerADlink[3]="http://www.wosowoso.com/google/b2/";
   bannerAD[4]="http://www.wosowoso.com/google/b2/jpg/i1.jpg";
   bannerADlink[4]="http://www.wosowoso.com/google/b2/";
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="
http://www.wosowoso.com/google/b2/jpg/i1.jpg" width=150 border=0 name=bannerADrotator></A>
      <SCRIPT language=JavaScript>nextAd()</SCRIPT></td>
  </tr>
</table>







欢迎光临 熙海啵啵 (http://cece56.cn/) Powered by Discuz! X3.4