問候跑馬燈
一 將下面複製至 <body> 指令後
<script language=Javascript>
var instring
if (navigator.appName == "Microsoft Internet Explorer")
{ document.write("<br><font size=4>")
inString = window.prompt("請輸入您的暱名","")
document.write("<marquee scrollamount=3 scrolldelay=2 bgcolor=#64D0FE border=0 width=400 style='border: 3 groove #0000FF'>")
document.write("Hi <strong>"+inString+"</strong> 歡迎光臨彩虹天地 ")
document.write("</marquee>")
document.write("</center>")
document.write("<br></font>")}
else
{ document.write("<br><font face='arial' size=4>")
inString = window.prompt("請輸入您的暱名","")
document.write("Hi <strong>"+inString+"</strong>, 歡迎光臨彩虹天地 ")
document.write("</center>")
document.write("<br></font>")}
</script>
bgcolor=#64D0FE
修改跑馬燈背景顏色
width=400
修改跑馬燈顯示寬度
groove #0000FF
修改跑馬燈框線顏色
藍色修改內容