|
Java Script For Overlay Users
Flashing status bar
Step 1: Insert the following into the <head> section of your page:
<script language="JavaScript">
<!--
var yourwords = "Thank you for visiting my site!";
var speed = 150;
var control = 1;
function flash()
{
if (control == 1)
{
window.status=yourwords;
control=0;
}
else
{
window.status="";
control=1;
}
setTimeout("flash();",speed);
}
// -->
</script>
Step 2: insert the following into the <body> tag, like below:
<body onload="flash();">
__________________________________________________ ______________
Hide Status bar message
Step 1: Add the following into the <HEAD> section of your page:
<script>
//configure status message to show
var statusmsg=""
function hidestatus(){
window.status=statusmsg
return true
}
</script>
Step 2: Inside each link you wish to mask the status bar message, add the below onMouseover code into it as follows:
<a href="Your link" onMouseover="return hidestatus()">link name</a>
|