找回密码
 注册
【阿里云】2核2G云新老同享 99元/年,续费同价华为云精选云产品特惠做网站就用糖果主机Jtti,新加坡服务器,美国服务器,香港服务器
查看: 627|回复: 3

[原创]我首页的图片随即换特效代码(已经提供词霸下载)

[复制链接]
发表于 2005 年 2 月 23 日 18:02:52 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×
  本代码是 彩虹星期天自己做的!版权归彩虹星期天所有!


演示:http://www.363net.com

既然有人和我要,我就给大家了!

代码如下:请复制到记事本上再用!
<!-- !! --><script language=JavaScript>                                                        
var imgUrl=new Array();                                                        
var imgLink=new Array();                                                        
var adNum=0;                                                        
imgUrl[1]="../goolge/1.gif";                                                                                                              
imgUrl[2]="../goolge/2.gif";
imgUrl[3]="../goolge/3.gif";  
imgUrl[4]="../goolge/4.gif";  
imgUrl[5]="../goolge/5.gif";  
imgUrl[6]="../goolge/6.gif";  
imgUrl[7]="../goolge/7.gif";  
imgUrl[8]="../goolge/8.gif";  
imgUrl[9]="../goolge/9.gif";  
imgUrl[10]="../goolge/10.gif";  
imgUrl[11]="../goolge/11.gif";  
imgUrl[12]="../goolge/12.gif";  
imgUrl[13]="../goolge/13.gif";  
imgUrl[14]="../goolge/14.gif";  
imgUrl[15]="../goolge/15.gif";  
imgUrl[16]="../goolge/16gif";  
imgUrl[17]="../goolge/17.gif";  
imgUrl[18]="../goolge/18.gif";  
imgUrl[19]="../goolge/19.gif";
imgUrl[20]="../goolge/20.gif";
imgUrl[21]="../goolge/21.gif";  
imgUrl[22]="../goolge/22.gif";  
imgUrl[23]="../goolge/23.gif";  
imgUrl[24]="../goolge/24.gif";  
imgUrl[25]="../goolge/25.gif";  
imgUrl[26]="../goolge/26.gif";  
imgUrl[27]="../goolge/27.gif";  
imgUrl[28]="../goolge/28.gif";  
imgUrl[29]="../goolge/29.gif";  
imgUrl[30]="../goolge/30.gif";  
imgUrl[31]="../goolge/31.gif";  
imgUrl[32]="../goolge/32.gif";  
imgUrl[33]="../goolge/33.gif";  
imgUrl[34]="../goolge/34.gif";  
imgUrl[35]="../goolge/35.gif";  
imgUrl[36]="../goolge/36.gif";  
imgUrl[37]="../goolge/37.gif";  
imgUrl[38]="../goolge/38.gif";  
imgUrl[39]="../goolge/39.gif";  
                                                                                                            
                                                                                                             
var imgPre=new Array();                                                        
var j=0;                                                        
for (i=1;i<=4;i++) {                                                        
      if( (imgUrl!="") && (imgLink!="") ) {                                                        
             j++;                                                        
      } else {                                                        
             break;                                                        
      }                                                        
}                                                        
                                                       
function playTran(){                                                        
      if (document.all){                                                        
             document.imgInit.filters[0].play();                                                        
      }                                                        
}                                                        
                                                       
function nextAd(){                                                        
      if(adNum<j)adNum++ ;                                                        
      else adNum=1;                                                        
                                                              
      if (document.all){                                                        
             document.imgInit.filters[0].Transition=30;                                                        
             document.imgInit.filters[0].apply();                                                        
      }                                                        
      document.images.imgInit.src=imgUrl[adNum];                                                        
      playTran();                                                        
      theTimer=setTimeout("nextAd()", 6000);                                                        
}                                                        
                                                       
                                                       
function goUrl(){                                                        
      jumpUrl=imgLink[adNum];                                                        
      jumpTarget='_blank';                                                        
      if (jumpUrl != ''){                                                        
             if (jumpTarget != '')                                                        
                    window.open(jumpUrl,jumpTarget);                                                        
             else                                                        
                    location.href=jumpUrl;                                                        
      }                                                        
}                                                        
</script><a href="javascript:goUrl()"><img style="FILTER: revealTrans(duration=2,transition=20);border:1px solid #000000" src="javascript:nextAd()"  alt=本站首页改版了! border=1 name=imgInit><!-- !! --></a><br>
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
发表于 2005 年 2 月 23 日 19:08:20 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价
搜索的可不可以提供?
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

 楼主| 发表于 2005 年 2 月 24 日 09:04:59 | 显示全部楼层
下面是引用香小子于2005-02-23 19:08发表的:
搜索的可不可以提供?


哪个搜索?
词霸还是什么!
词霸已经提供了!
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

 楼主| 发表于 2005 年 2 月 23 日 18:02:52 | 显示全部楼层

[原创]我首页的图片随即换特效代码(已经提供词霸下载)

  本代码是 彩虹星期天自己做的!版权归彩虹星期天所有!


演示:http://www.363net.com

既然有人和我要,我就给大家了!

代码如下:请复制到记事本上再用!
<!-- !! --><script language=JavaScript>                                                        
var imgUrl=new Array();                                                        
var imgLink=new Array();                                                        
var adNum=0;                                                        
imgUrl[1]="../goolge/1.gif";                                                                                                              
imgUrl[2]="../goolge/2.gif";
imgUrl[3]="../goolge/3.gif";  
imgUrl[4]="../goolge/4.gif";  
imgUrl[5]="../goolge/5.gif";  
imgUrl[6]="../goolge/6.gif";  
imgUrl[7]="../goolge/7.gif";  
imgUrl[8]="../goolge/8.gif";  
imgUrl[9]="../goolge/9.gif";  
imgUrl[10]="../goolge/10.gif";  
imgUrl[11]="../goolge/11.gif";  
imgUrl[12]="../goolge/12.gif";  
imgUrl[13]="../goolge/13.gif";  
imgUrl[14]="../goolge/14.gif";  
imgUrl[15]="../goolge/15.gif";  
imgUrl[16]="../goolge/16gif";  
imgUrl[17]="../goolge/17.gif";  
imgUrl[18]="../goolge/18.gif";  
imgUrl[19]="../goolge/19.gif";
imgUrl[20]="../goolge/20.gif";
imgUrl[21]="../goolge/21.gif";  
imgUrl[22]="../goolge/22.gif";  
imgUrl[23]="../goolge/23.gif";  
imgUrl[24]="../goolge/24.gif";  
imgUrl[25]="../goolge/25.gif";  
imgUrl[26]="../goolge/26.gif";  
imgUrl[27]="../goolge/27.gif";  
imgUrl[28]="../goolge/28.gif";  
imgUrl[29]="../goolge/29.gif";  
imgUrl[30]="../goolge/30.gif";  
imgUrl[31]="../goolge/31.gif";  
imgUrl[32]="../goolge/32.gif";  
imgUrl[33]="../goolge/33.gif";  
imgUrl[34]="../goolge/34.gif";  
imgUrl[35]="../goolge/35.gif";  
imgUrl[36]="../goolge/36.gif";  
imgUrl[37]="../goolge/37.gif";  
imgUrl[38]="../goolge/38.gif";  
imgUrl[39]="../goolge/39.gif";  
                                                                                                            
                                                                                                             
var imgPre=new Array();                                                        
var j=0;                                                        
for (i=1;i<=4;i++) {                                                        
      if( (imgUrl!="") && (imgLink!="") ) {                                                        
             j++;                                                        
      } else {                                                        
             break;                                                        
      }                                                        
}                                                        
                                                       
function playTran(){                                                        
      if (document.all){                                                        
             document.imgInit.filters[0].play();                                                        
      }                                                        
}                                                        
                                                       
function nextAd(){                                                        
      if(adNum<j)adNum++ ;                                                        
      else adNum=1;                                                        
                                                              
      if (document.all){                                                        
             document.imgInit.filters[0].Transition=30;                                                        
             document.imgInit.filters[0].apply();                                                        
      }                                                        
      document.images.imgInit.src=imgUrl[adNum];                                                        
      playTran();                                                        
      theTimer=setTimeout("nextAd()", 6000);                                                        
}                                                        
                                                       
                                                       
function goUrl(){                                                        
      jumpUrl=imgLink[adNum];                                                        
      jumpTarget='_blank';                                                        
      if (jumpUrl != ''){                                                        
             if (jumpTarget != '')                                                        
                    window.open(jumpUrl,jumpTarget);                                                        
             else                                                        
                    location.href=jumpUrl;                                                        
      }                                                        
}                                                        
</script><a href="javascript:goUrl()"><img style="FILTER: revealTrans(duration=2,transition=20);border:1px solid #000000" src="javascript:nextAd()"  alt=本站首页改版了! border=1 name=imgInit><!-- !! --></a><br>
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2024 年 11 月 18 日 17:47 , Processed in 0.025045 second(s), 21 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表