中文(繁体)
<!--要完成此效果把以下程式碼加入<body>區域--> <span id="theText" style="width:100%"> <h2align="center"><font color=" # ffffff">歡迎來到您!!</font></h2> </span><script> var from = 5;變數 = 50;無功延遲 = 5; var 發光顏色 = "石灰"; var i = 到;變數 j = 0;文字脈衝下降(); function textPulseUp() { if (!document.all) return if (i < to) { theText.style.filter = "Glow(Color=" + gigColor + ", Strength=" + i + ")"; }我++; theTimeout = setTimeout('textPulseUp()',delay);返回0; } if (i = to) { theTimeout = setTimeout('textPulseDown()',delay);返回0; } } function textPulseDown() { if (!document.all) return if (i > from) { theText.style.filter = "Glow(Color=" + gigColor + ", Strength=" + i + ")";我 - ; theTimeout = setTimeout('textPulseDown()',delay);返回0; } if (i = from) { theTimeout = setTimeout('textPulseUp()',delay);返回0; } } </腳本>