腳本說明:
第一步:把如下代碼加入<head>區域中
<SCRIPT language="JavaScript">
<!
var thissize=
var textfont="隸書"
var textcolor= new Array()
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
textcolor[
var message = new Array()
message[
message[
message[
message[
i_message=
var i_strength=
var i_message=
var timer
function glowtext() {
if(document
if (i_strength <=
glowdiv
document
"
i_strength++
timer=setTimeout("glowtext()"
}
else {
clearTimeout(timer)
setTimeout("deglowtext()"
}
}
}
function deglowtext() {
if(document
if (i_strength >=
glowdiv
document
"
i_strength
timer=setTimeout("deglowtext()"
}
else {
clearTimeout(timer)
i_message++
if (i_message>=message
i_strength=
intermezzo()
}
}
}
function intermezzo() {
glowdiv
setTimeout("glowtext()"
}
//
</SCRIPT>
第二步:把如下代碼加入<body>區域中
<div id="glowdiv" style="position:absolute;visibility:visible;width:
第三步:把<body>區中內容改為
<body bgcolor="#fef
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20661.html