中文(繁体)
<!-- http://www.downcodes.com --> <!-- bbs http://bbs.downcodes.com --> <!--完整的HTML檔如下:--> <HTML>< HEAD></HEAD> <BODY onload=dotransition()> <SCRIPT language=JavaScript1.1> messages = new Array() messages[0] = "歡迎來到網站學院" messages[1] = "這是一個專業的網頁教學資源網站" messages[2] = "我們的地址www.downcodes.com" mescolor = new Array() mescolor[0] = "000000" mescolor[1] = "FF0000" mescolor[2] = "226622 " mescolor[3] = "0000FF" mescolor[4] = "FFFF00" textfont = new Array() textfont[0] = "宋體" textfont[1] = "Times" textfont[2] = "Arial" bagcolor = new Array() bagcolor[0] = "CCCCCC" bagcolor[1] = "Yellow" bagcolor[2] = "CCFFFF" bagcolor[3] = "AAEEFF" bagcolor[4] = "CCFF88" bagcolor[5] = "orange " bagcolor[6] = "99AAFF" var i_messages = 0 var timer function randomposition(range) { return Math.floor(range*Math.random()) } function dotransition() { if (document.all) { content.filters [i_messages].apply() content.innerHTML = "<table width=320 height=180 border=2><tr><td bgcolor="+bagcolor[randomposition(6)]+" style='color:"+mescolor [randomposition(4)]+";font-family:"+textfont[randomposition(2)]+";font-size:30px' align=center valign=middle>"+messages[i_messages]+"</td> </tr></table>" content.filters[i_messages].play() if (i_messages >= messages.length-1) { i_messages = 0 } else { i_messages++ } } timer = setTimeout("dotransition()", 3000) } </SCRIPT> <DIV id=content style="FILTER: revealTrans(Transition=1, Duration=3) revealTrans(Transition=2, Duration=3) revealTrans(Transition=3, Duration=2) revealTrans(Transition =4, Duration=2) revealTrans(Transition=5, Duration=1) revealTrans(Transition=6, Duration=3) revealTrans(Transition=7, Duration=2) revealTrans(Transition=8, Duration=1) revealTrans(Transition =9, Duration=3) revealTrans(Transition=10, Duration=1) revealTrans(Transition=11, Duration=2) revealTrans(Transition=12, Duration=3) revealTrans(Transition=13, Duration=1) revealTrans(Transition =14, Duration=2) revealTrans(Transition=15, Duration=3) revealTrans(Transition=16 Duration=1) revealTrans(Transition=17, Duration=2) revealTrans(Transition=18, Duration=3) revealTrans(Transition=2) revealTrans(Transition=18, Duration=3) revealTrans(Transition= 19, Duration=1) revealTrans(Transition=20, Duration=2) revealTrans(Transition=21, Duration=3) revealTrans(Transition=22, Duration=3); LEFT: 20px; WIDTH: 560px; POSITION: absolute; TOP : 120px; HEIGHT: 200px; TEXT-ALIGN: center"></DIV> <DIV id=source style="LEFT: 20px; WIDTH: 560px; COLOR: #aaaaaa; POSITION: absolute; TOP: 240px; : center"></DIV> <DIV id=nn style="LEFT: 20px; POSITION: absolute; TOP: 20px"></DIV> </BODY></HTML>