HTML status bar using java script

This javascript function will help you to show a text message in the status bar with rotating (dancing) effect.

Status bar is the bottom portion of the browser where you will see link information when you move the mouse over any link.


  • Status bar script function to show text message with rotating (dancing) effect.
  • Should work in all browsers including internet explorer, firefox and opera.
  • Just copy the code in to your page and use it.


Status bar of this page


<!--Script by>
<!-- more scripts @ -->
<script type="text/javascript">
var as = 1;
var bs = 3; function statusbar() {
var msg = "dancing script -";
var msg1 = "\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\";
var msg2 = "||||||||||||||||||";
var msg3 = "//////////////////";
var msg4 = "------------------";
if(as > 4)
as = 1;
if(bs < 1)
bs = 4;
timer = window.setTimeout("statusbar()",100);
var sds = eval("msg"+as);
var sds2 = eval("msg"+bs);
var ss =sds+"
window.status = ss;
as = as+1;
bs = bs-1;
  • Release Date - 16-06-2004
  • Get free version without ©copyright link for just $10/-
  • For customization of this script or any script development, mail to


  • Copy the javascript code into the <head> tag of your page.
  • Change the message to what ever you want change the line
  •  var msg  = "dancing script -";
    example: var msg = "... ...";


Related Scripts

Free Javascript Scripts

Ask Questions

Ask Question