日本語
<!-- 完全な HTML ファイルは次のとおりです: --> <!-- http://www.downcodes.com --> <!-- bbs http://www.downcodes.com/bbs--> <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style> <!-- #tickertape{position:relative; ; 幅:400; 高さ:12; フォントファミリー: "フォントサイズ: 9pt" ; font-family: "宋体"; フォントサイズ: 9pt } .subtickertapefont{ font:bold 9pt color:white; none; font-family: "宋体"; font-size: 9pt} --> </style> <title>Web サイト構築アカデミーの特殊効果コード ->> ナビゲーション スクリプトを隠す</title> </head> <body onload ="if ( document.all||document.layers) {regenerate2();update()}"> <div id="tickertape"> <div id="subtickertape" class="subtickertapefont">初期化...< /div> < /div> <script language="JavaScript1.2"> //デフォルトの速度は 4.5 秒ですが、速度を自分で変更できます。 varspeed=4500 var news=new Array() news[0]="<a href='index.htm'>このサイトのホームページ</a>" news[1]="<a href='index1.htm ' >日時</a>" news[2]="<a href='index2.htm'>Web ページ ナビゲーション</a>" news[3]="<a href='index3.htm'> Web ページの背景</a>" news[4]="<a href='index4.htm'>ページの特殊効果</a>" news[5]="<a href='index5.htm'>グラフィック画像</a> " news[6]="<a href='index6.htm'>マウスイベント</a>" //表示される情報内容は任意の形式で追加できます。 i=0 if (document.all)tickerobject=document.all.subtickertape.style elsetickerobject=document.tickertape.document function regenerate(){ window.location.reload() } function regenerate2(){ if (document.layers) setTimeout("window.onresize=regenerate",450) } function update(){ BgFade(0xff,0xff,0xff, 0x00,0x00,0x00,10); if (document.layers){ document.tickertape.document.subtickertape. document.write('<span class="subtickertapefont">'+news[i]+'</span>') document.tickertape.document.subtickertape.document.close() } else document.all.subtickertape.innerHTML= news[i] if (i<news.length-1) i++ else i=0 setTimeout("update()",speed) } function BgFade(red1, grn1, blu1, red2, grn2, blu2,steps) { sred = red1; sblu = blu1; egrn = grn2; inc = ステップ = 0; 1 - epct; if (document.layers)tickerobject.bgColor = Math.floor(sred * spct + ered * epct)*256*256 + Math.floor(sgrn * spct + egrn * epct)*256 + Math.floor( sblu * spct + eblu * epct); elsetickerobject.backgroundColor= Math.floor(sred * spct + ered * epct)*256*256 + Math.floor(sgrn * spct + egrn * epct)*256 + Math.floor( sblu * spct + eblu * epct); if ( step < inc ) { setTimeout('RunFader()',50) } </script> </body> </html>