The Java Scriptorium

Delays in Status Bar Display


Description

Leaves a message in the status bar for a certain amount of time.

Example

Move pointer here.

Code

In the <head> section of your document:

<script language="JavaScript">
<!-- Hide
function moveover(txt) {
   window.status = txt;
   setTimeout("erase()",1000);
}
function erase() {
   window.status="";
}
// -->
</script>

In the <body> section of your document:

<a href="" onMouseOver="moveover('Disappears........');return true;">Move pointer here.</a>

Return to the Java Scriptorium.