<div class="htmlarea"> <textarea id="runcode24557"> <base href="http://demo.rexsong.com/200506/images_pixelate/"> <script language="JavaScript"> // 多图幻灯Pixelate马赛克效果/* slideimages --> 一系列的图片 slidelinks --> 连接地址 */ var slidespeed=4000 var slideimages=new Array("top_movie_4.gif","top_movie_1.gif","top_movie_2.gif") var slidelinks=new Array("http://www.jb51.net//login/login.asp","http://www.jb51.net//movie/high/high_movie_detail.asp?videoid=1356","http://www.jb51.net//movie/high/high_movie_detail.asp?videoid=1357") var imageholder=new Array() var ie55=window.createPopup for (i=0;i<slideimages.length;i++){ imageholder[i]=new Image() imageholder[i].src=slideimages[i] } function gotoshow(){ window.location=slidelinks[whichlink] } </script> <a href="javascript:gotoshow()"> <img src="top_movie_3.gif" name="slide" border="0" style="max-width:90%" alt="多图幻灯Pixelate马赛克效果_图象特效" ></a><script language="JavaScript1.1"> <!-- var whichlink=0 var whichimage=0 var pixeldelay=(ie55)? document.images.slide.filters[0].duration*1000 : 0 function slideit(){ if (!document.images) return if (ie55) document.images.slide.filters[0].apply() document.images.slide.src=imageholder[whichimage].src if (ie55) document.images.slide.filters[0].play() whichlink=whichimage whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0 setTimeout("slideit()",slidespeed+pixeldelay) } slideit() //--> </script> </textarea><br><input onclick="runEx('runcode24557')" type="button" value="运行代码"> <input onclick="doCopy('runcode24557')" type="button" value="复制代码"> <input onclick="doSave(runcode24557)" type="button" value="保存代码">[Ctrl+A 全选 注:<a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">如需引入外部Js需刷新才能执行</a>]</div>