Flashing Browser status Bar

vishalneeraj-24503
Posted by vishalneeraj-24503 under CSS 3 category on | Points: 40 | Views : 265
<script language="JavaScript">
var status_bar_word = "Dotnetfunda.com web site";
var flashing_speed = 90;
var cnt = 1;

function flash_status_bar()
{
if(cnt == 1)
{
window.status = status_bar_word;
cnt = 0;
}
else
{
window.status = "";
cnt = 1;
}

setTimeout("flash_status_bar();",flashing_speed);
}
</script>

Now,on Body tag call it as below:-
<body onload = "flash_status_bar();">


Note:-Now,in every 90 millisecond,status bar will flash.

Comments or Responses

Login to post response