几张图片定时模糊切换显示特效,自定义图片和切换速度,根据自己网站的需求来修改里面的图片套用即可。
<a href="https://www.wuming.ren">武鸣人</a>,各种信息资源免费发布,分享励志语录经典短句,减肥健身常识,各种js特效代码。网站很好记住,wuming.ren(武鸣拼音.ren域名后缀)<hr> <!--欢迎来到武鸣人信息资源平台,各种信息免费发布,资源共享合作共赢,分享互联网流行的励志语录经典短句,减肥健身健康小常识及打卡记录,收集各种js特效代码。--> <script type="text/javascript" src="https://www.wuming.ren/ad/tc.js"></script> <script type="text/javascript" src="https://www.wuming.ren/ad/a.js"></script> <table width="178" border="0" cellspacing="0" cellpadding="0"> <tr> <td><script language=JavaScript> var Ga=new Array() <!-- //定义一个变量数组Ga --> Ga[0]="/img/20240418_www_wuming_ren_21.jpg"; <!-- // 设置要显示的图片地址,有几张就试几个,改变下标0,1,2等等,后面则是上传图片的地址--> Ga[1]="/img/20240418_www_wuming_ren_22.jpg"; Ga[2]="/img/20240418_www_wuming_ren_23.jpg"; Ga[3]="/img/20240418_www_wuming_ren_21.jpg"; Ga[4]="/img/20240418_www_wuming_ren_22.jpg"; Ga[5]="/img/20240418_www_wuming_ren_23.jpg"; var hayasa=2000 <!-- //两个图片之间延迟时间,4000等于4秒 --> var suu =1; var iTransNumber=0; var garTransitions = new Array(); //arrary of filter strings garTransitions[0] = "progid:DXImageTransform.Microsoft.RandomDissolve()"; garTransitions[1] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=, motion=out)"; garTransitions[2] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=diamond, motion=in)"; garTransitions[3] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=cross, motion=)"; garTransitions[4] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=circle, motion=)"; garTransitions[5] = "progid:DXImageTransform.Microsoft.Iris(irisStyle=square, motion=out)"; var kirikaeGa=new Array() for (kazu=0;kazu<Ga.length;kazu++){ kirikaeGa[kazu]=new Image() kirikaeGa[kazu].src=Ga[kazu]} function kirikae(){ if (window.createPopup) rittai.style.filter = garTransitions[iTransNumber]; iTransNumber++; if(iTransNumber==garTransitions.length) iTransNumber=0; if (window.createPopup) rittai.filters[0].apply(); document.images.rittai.src=kirikaeGa[suu].src; if (window.createPopup) rittai.filters[0].play() suu++ if (suu==kirikaeGa.length) suu=0; setTimeout("kirikae()",hayasa) }//武鸣人网站https://www.wuming.ren 网站很好记住,wuming.ren(武鸣拼音.ren域名后缀) setTimeout("kirikae()",hayasa) </script> <img src="/img/20240418_www_wuming_ren_21.jpg" name="rittai" width=178 height=223 border=0 style="filter: progid:DXImageTransform.Microsoft.Stretch(stretchStyle=)"></td> </tr> </table>
本文来自武鸣人网站,转载请注明出处