Customizing the Status Bar Message

This is an increasingly popular effect if implemented correctly. This tutorials will show you the code if you want a scrolling mesage(s) in your status bar.

Place this script in the <HEAD> section of your page.

Status Bar

<!--Place this script in the HEAD section. Thank you for using FireThrottle.tk-->

<script language="JavaScript" type="text/javascript">
<!--
//Visit http://ww.firethrottle.tk for this script and more

// You may edit the message below.

var startMsg = "Visit FireThrottle.tk for great tutorials and downloads";

var str = "";
var msg = "";
var leftMsg = "";

function setMessage()
{
if (msg == "")
{
str = " ";
msg = startMsg;
leftMsg = "";
}

if (str.length == 1)
{
while (msg.substring(0, 1) == " ")
{
leftMsg = leftMsg + str;
str = msg.substring(0, 1);
msg = msg.substring(1, msg.length);
}

leftMsg = leftMsg + str;
str = msg.substring(0, 1);
msg = msg.substring(1, msg.length);

for (var ii = 0; ii < 120; ii++)
{
str = " " + str;
}
}
else
str = str.substring(10, str.length);

window.status = leftMsg + str;
// This editable value (1000 = 1 second)
// corresponds to the speed of the shooting
// message.
timeout = window.setTimeout('setMessage()',100);

}
// -->
</script>

<!--Update the BODY tag for the timer function.-->

<!-- You may edit the BODY color. -->
<BODY bgcolor="ffffff" onload="timeout = window.setTimeout('setMessage()',500);">

The things you need to customize are labelled. Place this script in the HEAD section.


Related Articles

  • Window Status
    How to use this handy function to change the window status in a viewers browser.
  • Statusbar Message
    This is a quick, and quite simple tutorial. Now its not html, it uses Javascript. What it does is lets you customize what it says in the status bar usually at the bottom left of your browser. Right now in your browser it should say Infinite Designs.org ..... Heres how to make it do that...
  • Create Tell A Friend Script with HTML & PHP
    Today we learn how to create a Tell a Friend script with HTML and PHP. If you want to exercise on my files, click here to download them!
  • Scrolling Status Bar Text
    Displays a scrolling message in the status bar, in the bottom left hand side of your browser. It is easy to change the message to be displayed, and its scroll speed as well. A good easy to use script, but can become annoying if over used so be careful.
  • Status Bar Shoot
    If youre bored with static text on your status bar, try this tutorial to set it flying.
  • onMouseover? What's This?
    Well, its time to try out your first javascript. This one is nice because we dont have to deal with adding the script tag. This little script will write something of your choice to the browsers status bar when you move your mouse over a link. Lets look at the example:
  • When Does an Expired Domain Name Become Available?
    In order to know exactly when an expiring domain name will become available for re-registration by a new owner, you must understand the
  • Prevent Right-clicking
    If you dont want your visitors to rightclick at your page, you can insert this code somewhere between and . Type in the message you want your visitors to get in the line Write your message here
  • Domain Names Security : How safe is yours?
    The security of domain name registrations is an increasing concern for domain name registrants and registrars. However, there are steps you can take to increase the security of your domain name registrations...
  • Message Board Security Problems
    Security leaks can be a big problem for any site using a message board. Hackers can actually use your message board to go in and change things on your site. This has happened to me at least four times. Once an iframe was added to every single page of one of my very large sites...

Contact Web Design Outsource and get started today

Need Website Designing, Development, Redesigning, Maintenance and SEO services or help growing your company's web presence? Request a free Quote Now.