โค้ดแต่ง hi5 Status bar โหลดเป็นเปอร์เซ็น

<script type="text/javascript">
<!-- Hide from old browsers
message =
"L o a d d i n g |||||||||||||||||||||||||||||||| 30% ^"+
"L o a d d i n g ||||||||||||||||||||||||||||||||||||||||||||||||| 50% ^"+
"L o a d d i n g |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 70% ^" +
"L o a d d i n g ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100% ^" +
"ข้อความ hi5" +
"ข้อความ hi5"+
"^"
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>

You Should Also Check Out This Post:

More Active Posts: