步驟一 :
將以下程式碼複製 , 貼在網頁原始檔HTML <body> 之內 .
onLoad="if (document.all)test()"
步驟二 :
將以下程式碼複製 , 貼在網頁原始檔HTML <body> 與 </body> 之間 .
<SCRIPT language=javascript>
<!--annie
if (document.layers)
{
alert("對不起,你的瀏覽器不支持此程式碼特效。");
opener.gO();window.close();
}
else
if (document.all){
var step=3;
var xstep=0;
var msg='★歡迎來到
//設定修改波浪文字的樣式 (style='修改文字寬度、高度,字體大小及顏色')
document.write("<center><div id='water' style='position:relative;width:450px;height:55px;font-family:Verdana;font-size:30px;color:#00ff00'>"+msg+"</div></center>");
function test(){
document.all.water.style.filter='wave(freq=3, strength=5, phase='+xstep+', lightstrength=45, add=0, enabled=1)';
xstep+=step;
TIMER=setTimeout('test()',10);
}
}
//annie-->
</SCRIPT>