Animated message at bottom of the screen using JavaScript
//--start->
var welcometext = "Welcome to syntax-Help!"
var txt = "";
var begin = false;
var count = 0;
var timeset = 1;
function Statusbartxt()
{
timeset--;
if (!timeset)
{
if (!begin)
{
begin = true;
window.status = welcometext;
setTimeout("anim()", 1);
}
txt = welcometext;
}
}
function anim()
{
count++;
if (count==7) count = 1;
if (count==1) window.status = '*###' + txt + '###*';
if (count==2) window.status = '=*==' + txt + '==*=';
if (count==3) window.status = '*_*_' + txt + '_*_*';
if (count==4) window.status = '-*-*' + txt + '*-*-';
if (count==5) window.status = '&&*&' + txt + '&*&&';
if (count==6) window.status = '###*' + txt + '*###'
setTimeout("anim()", 200);
}
// End -->