ตัวอักษรวิ่งที่ STATUS BAR แบบค่อยๆขึ้นทีละตัว
[script] [!-- Hide from old browsers message = "พิมพ์ข้อความที่ 1 ครับ^" + "พิมพ์ข้อความที่ 2 ครับ^" + "พิมพ์ข้อความที่ 3 ครับ^" + "พิมพ์ข้อความที่ 4 ครับ^" + "พิมพ์ข้อความที่ 5 ครับ^" + "^" scrollSpeed = 25 lineDelay = 1500
// Do not change the text below //
txt = ""
function scrollText(pos) { if (message.charAt(pos) != '^') { txt = txt + message.charAt(pos) status = txt pauze = scrollSpeed } else { pauze = lineDelay txt = "" if (pos == message.length-1) pos = -1 } pos++ setTimeout("scrollText('"+pos+"')",pauze) }
// Unhide --] scrollText(0) [/script]
( เปลี่ยน..เครื่องหมาย [ และ ] สีแดง ให้เป็น < และ > เองนะคะ )
นำ script ดังกล่าว ไปใช้ได้เลยนะคะ และสามารถกำหนดข้อความได้เองคะ font>
Create Date : 26 มีนาคม 2550 | | |
Last Update : 26 มีนาคม 2550 16:41:15 น. |
Counter : 413 Pageviews. |
| |
|
|
|