✔ 最佳答案
<html>
<head>
<script>
function init() {
setTimeout('autotype(0)', 2000); // Start auto-type 2 sec later after page load
}
var myText = "Hello World!"
function autotype(i) {
document.getElementById('hello ' ).innerText += myText.charAt(i);
if (i < myText.length) setTimeout('autotype(' + (++i) + ')', 200); // Type a character every 200ms
}
</script>
</head>
<body onload='init()'>
<marquee loop=1>跑馬燈</marquee>
<span id='hello '</span>
</body>
2007-06-03 00:53:57 補充:
有D符號變左亂碼, 希望你睇得明啦.
2007-06-03 23:22:50 補充:
http://www.badongo.com/file/3295363Rename the file as a.html有齊 曉停的跑馬燈 打字