Text Shows and The Hides

[Total: 0    Average: 0/5]

This shows how to have some text shown in the status bar for a period of time before it removes itself from the status bar.

Body Code:

<script type=text/javascript>
var i = "This will disappear in a little bit.";
var delay = 1; // seconds it is shown
function moveover(txt) {
   defaultStatus = txt;
   setTimeout("erase()",delay * 1000);
}
function erase() {
   defaultStatus="";
}
</script>
<br>
<a href="" onMouseOver="moveover(i);return true;">Show text in status bar and then have it remove itself.</a>

Times Viewed: 1

Leave a Reply

Your email address will not be published. Required fields are marked *