There are a few things you can do.
1. Keep the time/date on the status bar
Code:
<html>
<head>
<SCRIPT>
// This function displays the time in the status line.
// Invoke it once to activate the clock; it will call itself from then on.
function display_time_in_status_line()
{
var d = new Date(); // month day, year hours:minutes:seconds
var y = d.getYear(); // get current year
var h = d.getHours(); // extract hours: 0 to 23
var m = d.getMinutes(); // extract minutes: 0 to 59
var s = d.getSeconds(); // extract seconds: 0 to 59
var mo = d.getMonth() + 1; // extract months: January to December
var da = d.getDate(); // extract days: 1 to 31
var ampm = (h >= 12)?"PM":"AM"; // is it am or pm?
if (h > 12) h -= 12; // convert 24-hour format to 12-hour
if (h == 0) h = 12; // convert 0 o'clock to midnight
if (m < 10) m = "0" + m; // convert 0 minutes to 00 minutes, etc.
var t = mo + '/' + da + '/' + y + ' ' + h + ':' + m + ':' + s + ' ' + ampm; // put it all together
defaultStatus = t; // display it in the status line
// arrange to do it again in 1 second.
setTimeout("display_time_in_status_line()", 1000); // 1000 ms in 1 second
}
</SCRIPT>
</head>
<body onLoad="display_time_in_status_line();">
</body></html>
2. Keep scroll/shooting words continuously on the status bar
Code:
<html><head><script language="JavaScript">
<!--
// You may edit the message below.
var startMsg = "Tripod rocks! ";
var str = "";
var msg = "";
var leftMsg = "";
function setMessage()
{
if (msg == "")
{
str = " ";
msg = startMsg;
leftMsg = "";
}
if (str.length == 1)
{
while (msg.substring(0, 1) == " ")
{
leftMsg = leftMsg + str;
str = msg.substring(0, 1);
msg = msg.substring(1, msg.length);
}
leftMsg = leftMsg + str;
str = msg.substring(0, 1);
msg = msg.substring(1, msg.length);
for (var ii = 0; ii < 120; ii++)
{
str = " " + str;
}
}
else
str = str.substring(10, str.length);
window.status = leftMsg + str;
// This editable value (1000 = 1 second)
// corresponds to the speed of the shooting
// message.
timeout = window.setTimeout('setMessage()',100);
}
// -->
</script>
</head>
<!--Update the BODY tag for the timer function.-->
<!-- You may edit the BODY color. -->
<body bgcolor="ffffff" onload="timeout = window.setTimeout('setMessage()',500);">
</body></html>
3. Continously scroll words on the status bar
Code:
<html><head>
<script language="JavaScript">
<!--
// You may edit the message below.
var statBarMsg = "This message appears in the status bar ..... " +
"It will repeat continuously while the page is viewed ....." +
"good, right? " ;
function startStatusScroller()
{
window.status = statBarMsg;
statBarMsg = statBarMsg.substring(1, statBarMsg.length) + statBarMsg.substring(0, 1)
setTimeout("startStatusScroller()", 150)
}
//-->
</SCRIPT>
</head>
<body onLoad="startStatusScroller();">
</body></html>
4. Keeps words on status bar no matter what
Code:
<html><head>
<script language="JavaScript">
var boodschap = 'Status bar Text';
function dgstatus()
{
window.status = boodschap;
timerID= setTimeout("dgstatus()", 60);
}
</script>
<script Language="JavaScript">
<!--
dgstatus();
//-->
</script>
</head>
<body>
</body></html>
These are just a few suggestions that might be helpful
.