한국어
<!-- http://www.downcodes.com --> <!-- bbs http://bbs.downcodes.com --> <!--把如下代码加入到<body>区域中--> <body> <div id="i1" class="intro"> </div> <div id="i2" class="intro"> </div> <div id="i3" class="intro"> </div> <div id="i4" class="intro"> </div> <div id="i5" class="intro"> </div> <div id="i6" class="intro" > </div> <div id="i7" class="intro"> </div> <div id="i8" class="intro"> </div> <script 언어="JavaScript1.2"> var 속도=20 var temp=new Array() var temp2=new Array() if (document.layers){ for (i=1;i<=8;i++){ temp[i]=eval("document.i" +i+".clip") temp2[i]=eval("document.i"+i) temp[i].width=window.innerWidth temp[i].height=window.innerHeight/8 temp2[i].top =(i-1)*temp[i].height } } else if (document.all){ var 클립라이트=document.body.clientWidth,clipleft=0 for (i=1;i<=8;i++){ 임시 [i]=eval("document.all.i"+i+".style") 임시[i].width=document.body.clientWidth 임시[i].height=document.body.offsetHeight/8 임시[i] .top=(i-1)*parseInt(temp[i].height) } } 함수 openit(){ window.scrollTo(0,0) if (document.layers){ for (i=1;i<=8 ;i=i+2) temp[i].right-=speed for (i=2;i<=8;i=i+2) temp[i].left+=speed if (temp[2].left> window.innerWidth)clearInterval(stopit) } else if (document.all){clipright-=speed for (i=1;i<=8;i=i+2){ temp[i].clip="ect(0 "+clipright+" 자동 0)" } 클립왼쪽+=속도 for (i=2;i<=8;i=i+2){ temp[i].clip="ect(0 자동 자동 "+clipleft+")" } if (clipright<=0)clearInterval(stopit) } } function gogo(){ stopit=setInterval("openit()",100) } gogo() </script> <style> <!-- .intro { position: 순수한; 왼쪽:0; 상단:0; 레이어 배경색:은색; 배경색:은색; 테두리:0.1px 솔리드 실버 } --> </style>