中文(简体)
<!-- http://www.downcodes.com --> <!-- bbs http://www.downcodes.com/bbs --> <! 类型:SpecificSpecificSpecific--> <script> var brOK=false ; var mie=假; var aver=parseInt(navigator.appVersion.substring(0.1)); var aname=navigator.appName; var mystop=0;变量步长=0.2;函数 checkbrOK() { if(aname.indexOf("Internet Explorer")!=-1) {if(aver>=4) brOK=browser.javaEnabled();米=真; } if(aname.indexOf("Netscape")!=-1) {if(aver>=4) brOK=browser.javaEnabled();} } vmin=1.5; var vmax=3; var vr = 2; var 定时器1; function Chip (芯片名称, 宽度, 高度) { this . this.vx=vmin+vmin;这个.vy=0; this.w=宽度;这个.h=高度;这个.xx=0;这个.yy=0; this.timer1=null; } function movechip (chipname) { if (brOK && mystop == 0) { eval ("chip = "+chipname); if (!mie) { pageX = 窗口 ;页W = 窗口 . pageY=window.pageYOffset;页高 = 窗口 . } else { pageX=window.document.body.scrollLeft; pageW = 窗口 .offsetWidth - 8 ; pageY=window.document.body.scrollTop; pageH=window.document.body.offsetHeight+15; } 芯片.xx=芯片.xx+芯片.vx;芯片.vy=芯片.vy+步骤;芯片.yy=芯片.yy+芯片.vy; if ( 芯片 .xx <= pageX ) { 芯片 xx = pageX ;芯片.vx=vmin; } if ( 芯片 .xx >= pageX + pageW - 85 ) { 芯片 .xx = pageX ;芯片.vx=vmin;芯片.yy=页Y;芯片.vy=vmin+vmax; } if ( 芯片 . yy > ( pageY + pageH - 芯片 . h )) { 芯片 yy=pageY + pageH - 芯片 h ;芯片.vy=-芯片.vy*0.65; } if(!mie) { eval('document.'+chip.named+'.top ='+chip.yy); eval('文档.'+chip.named+'.left='+chip.xx); } else { eval('document.all.'+chip.named+'.style.pixelLeft='+chip.xx); eval('document.all.'+chip.named+'.style.pixelTop ='+chip.yy); }chip.timer1=setTimeout("movechip('"+chip.named+"')",20); } } 函数 stopme(flag) { brOk=true; mystop=标志; movechip(“多美”); var tome;无功芯片;函数 tome ( ) { checkbrOK ( ) ; tome=new Chip("tome",80.80); if (brOK && mystop == 0) { movechip("空"); ns4=(document.layers)?true:false; ie4=(document.all)?真:假;函数 cncover() { if(ns4){ document.cnc.left=window.innerWidth/2-400; eval('document.cnc.top=document.'+chip.named+'.top'); document.cnc.visibility="显示";停止我(1); mytime=setTimeout("cncout()", 3000); }否则 if(ie4) { document.all.cnc.style.left=window.document.body.offsetWidth/2-400; document.all.cnc.style.top=parseInt(document.all.tome.style.top); document.all.cnc.style.visibility="可见";停止我(1); mytime=setTimeout("cncout()", 3000); } } 函数cncout(){clearTimeout(mytime); if (ns4){ document.cnc.visibility="隐藏";停止我(0); }else if(ie4) { document.all.cnc.style.visibility="隐藏";停止我(0); } } 加载=音量; </script> <div id="tome" style="position:absolute;"><a href=# onMouseOver=cncover() onMouseOut=cncout() target="_blank"><img src=/u/info_img/ ; 2009-06/20/7129_logo.gif borders=0></a></div> <div id="cnc" style="position:absolute; left:0;top:0;;visibility:hidden;" > <a href=http://www.downcodes.com/ onMouseOver=cncover() onMouseOut=cncout() target=_blank><img border=0 src= width=468 ></a></div>