<script>
var num = '1';
function mes() {
num++;
if (num > 7) { num = 1;}
if (num == 1) { document.title = 'H'; }
if (num == 2) { document.title = 'HE'; }
if (num == 3) { document.title = 'HEL'; }
if (num == 4) { document.title = 'HELL'; }
if (num == 5) { document.title = 'HELLO'; }
if (num == 6) { document.title = 'HELLO!'; }
if (num == 7) { document.title = 'HELLO!!'; }
/*
Change the 300 below to a different number to adjust speed
*/
if (num < (7 * num)) {setTimeout('mes()', 300)}
}
mes();
</script>
To change this script to display the animated message in the status bar just change the "document.title" to "window.status".
Example:
<script>
var num = '1';
function mes() {
num++;
if (num > 7) { num = 1;}
if (num == 1) { window.status = 'H'; }
if (num == 2) { window.status = 'HE'; }
if (num == 3) { window.status = 'HEL'; }
if (num == 4) { window.status = 'HELL'; }
if (num == 5) { window.status = 'HELLO'; }
if (num == 6) { window.status = 'HELLO!'; }
if (num == 7) { window.status = 'HELLO!!'; }
/*
Change the 300 below to a different number to adjust speed
*/
if (num < (7 * num)) {setTimeout('mes()', 300)}
}
mes();
//-->
</script>