新垂直跑馬

將下列程式碼複製至<head>程式碼</head>區內

<script language="JavaScript">
<!--
var index = 11
text = new Array(12);


text[0] ='輸入內容'
text[1] =''
text[2] ='輸入內容'
text[3] =''
text[4] ='輸入內容'
text[5] =''
text[6] ='輸入內容'
text[7] =''
text[8] ='輸入內容'
text[9] =''
text[10] ='輸入內容'
text[11] =''

document.write ("<marquee scrollamount='3' scrolldelay='70' direction= 'up' width='160' id=xiaoqing height='130' onmouseover=xiaoqing.stop() onmouseout=xiaoqing.start()>");
for (i=0;i<index;i++){
document.write (text[i] + "</font></A><br>");
}
document.write ("</marquee>")
// -->
</script>