日本語
<!-- http://www.downcodes.com --> <!-- bbs http://bbs.downcodes.com --> <!-- この効果を実現するには、最初のステップが 2 つ必要です。次のコードを <head> 領域に追加します--> <style> <!-- .intro{ location:absolute:top:0; ; border: 0.1px 単色白 } --> </style> <!--ステップ 2: 次のコードを <body> 領域に追加します --> <div id="i1" class="intro"> Web サイトの構築アカデミー<br ><br> www.downcodes.com<br><br> webmaster@downcodes.com<br><br> ╔---------------------- --- -----------------------╗<br> ┆Webページ制作チュートリアル ダウンロード Webページ 特殊効果専門アニメーション Webサイト構築ガイド┆<br> ┆技術フォーラムプログラミング テクノロジー ASP テクノロジー PHP テクノロジー 特殊効果コード┆<br> ┆Web サイトの構築 英語-中国語翻訳モールの販売 業界ニュース プログラム開発┆<br> ╚---------------- -------- ------------------------╝<br> ホームページ構築アカデミーでは、ホームページ制作全般のコンサルティングを行っております。 ...</div> <script language= "JavaScript1.2"> //ここで速度を変更します varspeed=5 if (document.layers){ varreference=window.innerWidth/window.innerHeight var temp=eval("document .i1.clip") temp.left=temp .top=0 temp.right=window.innerWidth temp.bottom=window.innerHeight } else if (document.all){ varreference=document.body.clientWidth/document.body .clientHeight var rightclip,leftclip,topclip,bottomclip var temp=document.all.i1.style topclip=leftclip=0 rightclip=temp.width=document.body.clientWidthbottomclip=temp.height=document.body.clientHeight } function doit (){ window.scrollTo(0,0) if (document.layers){ if (temp.left>window.innerWidth/2) clearInterval(stopit) temp.left+=reference*speed temp.top+=speed temp.right- =reference*speed temp.bottom-=speed } else if (document.all){ if (leftclip>document.body.clientWidth/2) clearInterval(stopit) temp.clip="rect( "+topclip+" "+rightclip+" "+bottomclip+" "+leftclip+")" leftclip+ =reference*speed topclip+=speed rightclip-=reference*speedbottomclip-=speed } } stopit=setInterval("doit()",100) </script>