ลำดับตอนที่ #60
คืนค่าการตั้งค่าทั้งหมด
คุณแน่ใจว่าต้องการคืนค่าการตั้งค่าทั้งหมด ?
ลำดับตอนที่ #60 : Code++/ข้อความวิ่งตรงแถบ Status
<SCRIPT>
<!-- Hide from old browsers
message =
"ข้อความที่1^"+
"ข้อความที่2^"+
"ข้อความที่3 ^" +
"ข้อความที่4 ^" +
"^"
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>
เก็บเข้าคอลเล็กชัน
ความคิดเห็น