ภาษาไทย
<!--要完成此效果把如下代码加入到<body>区域中--> <span id="theText" style="width:100%"> <h2 align="center"><font color=" #ffffff">ยินดีต้อนรับคุณ!!</font></h2> </span><script> var จาก = 5; วาร์ถึง = 50; ความล่าช้า var = 5; var GlowColor = "มะนาว"; var i = ถึง; วาร์ เจ = 0; ข้อความพัลส์ดาวน์(); ฟังก์ชัน textPulseUp() { if (!document.all) ส่งคืน if (i < to) { theText.style.filter = "Glow(Color=" + GlowColor + ", Strength=" + i + ")"; ฉัน++; theTimeout = setTimeout('textPulseUp()',ดีเลย์); กลับ 0; } ถ้า (i = ถึง) { theTimeout = setTimeout('textPulseDown()',delay); กลับ 0; } } ฟังก์ชั่น textPulseDown() { if (!document.all) return if (i > from) { theText.style.filter = "Glow(Color=" + GlowColor + ", Strength=" + i + ")"; ฉัน--; theTimeout = setTimeout('textPulseDown()',ดีเลย์); กลับ 0; } ถ้า (i = จาก) { theTimeout = setTimeout('textPulseUp()',ล่าช้า); กลับ 0; } } </สคริปต์>