To add a default status
bar message to your webpage, or in other words to place a permant staus
bar message that does not change you would add this code:
<BODY onload="window.defaultStatus='YOUR
STATUS BAR MESSAGE HERE';">
To add a animated arrow status message to your webpage, use the following
script:
<!--ADD THIS SCRIPT TO YOUR HTML DOCUMENTS HEAD TAGS--><script
language="JavaScript">
<!--
var hellotext="Welcome to A1 JavaScripts!"
var thetext=""
var started=false
var step=0
var times=1
function welcometext()
{
times--
if (times==0)
{
if (started==false)
{
started = true;
window.status = hellotext;
setTimeout("anim()",1);
}
thetext = hellotext;
}
}
function showstatustext(txt)
{
thetext = txt;
setTimeout("welcometext()",4000)
times++
}
function anim()
{
step++
if (step==7) {step=1}
if (step==1) {window.status='>==='+thetext+'===<'}
if (step==2) {window.status='=>=='+thetext+'==<='}
if (step==3) {window.status='>=>='+thetext+'=<=<'}
if (step==4) {window.status='=>=>'+thetext+'<=<='}
if (step==5) {window.status='==>='+thetext+'=<=='}
if (step==6) {window.status='===>'+thetext+'<==='}
setTimeout("anim()",200);
}
// -->
</script>
<!--Then add the following as your HTML Documents BODY tag itself:-->
<BODY onLoad="welcometext()">
|