HTML status bar using java script

This javascript function will help you to show a scrolling message in the status bar.

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

Features

  • Status bar script function to show scrolling (moving) messages.
  • Should work in all browsers including internet explorer, firefox, opera.
  • Just copy the code in to your page and use it.

Preview

Status bar of this page

Downloads

<!--Script by hscripts.com -->
<!-- more scripts @ https://www.hscripts.com -->
<script type="text/javascript">
function statusbar(val)
{
var msg= "Your message here --- hscripts.com";
var res = " ";
var speed = 100;
var pos = val;

if (pos > 0) {
for (var position=0 ; position< pos; position++) {
res += " ";
}
res+=msg;
pos--;
window.status = res;
timer = window.setTimeout("statusbar("+pos+")",speed);
}
else{
if( -pos < msg.length) {
res += msg.substring(-pos,msg.length);
pos--;
window.status=res;
timer = window.setTimeout("statusbar("+pos+")",speed);
}
else
{
window.status= " ";
timer = window.setTimeout("statusbar(100)",speed);
}
} } statusbar(100); </script>

  • 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 support@hscripts.com

Usage

  • Copy the code in to your page.
  • Change the message to what ever you want change the line
  •  var msg  = "Your message here --- hscripts.com";
    example: var msg = "....... mysitename.com ......";

License

Related Scripts

Free Javascript Scripts


Ask Questions

Ask Question