Javascript Title Bar Message Changer

This Tutorial Has Been Viewed 10,373 Times.


Here comes the next tutorial which is so simple………….

<script type="text/javascript">
var message = new Array ();
var delay = 5000; // Sets the delay between switching messages
var currMessage = 1;
message[1] = "I am First";
message[2] = "I am Second";
message[3] = "I am Third";

function timer() {
document.title = (message[currMessage++]);
setTimeout("timer()",delay);
currMessage = ((currMessage >= message.length) ? 1 : currMessage);
}
timer();
</script>

Just add the above script on your webpage and see your title bar getting changed dynamically :)

VN:F [1.9.13_1145]
Rating: 2.8/10 (4 votes cast)
VN:F [1.9.13_1145]
Rating: -2 (from 2 votes)

Javascript Title Bar Message Changer , 2.8 out of 10 based on 4 ratings

Incoming search terms:





You will also be interested in ,

Tags:

13 Responses

  1. BypeWhomypewhz says:

    not bad…good one admin…

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: -1 (from 1 vote)
  2. qwblvzd says:

    A good website

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  3. notapionnaistfsk says:

    what a website/.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  4. Bashchuxustahihj says:

    a nice website..

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  5. Zepenciereanyejb says:

    cool site…

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  6. vqtdtwx says:

    proper…the best

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  7. scurcisultusyehz says:

    i like this site

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  8. DyexyNofcoellfth says:

    a nice website

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  9. dweniebuikake says:

    one of the best website for tutorials and scripts

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  10. Sleceirtier says:

    a nice one..i like it..

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  11. Poeveinsek says:

    A very good website especially for javascript and php

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  12. SOPAYSUICACIG says:

    Cool website for title bar stuff using javascript :-) expecting more…..

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)
  13. Good article.

    VA:F [1.9.13_1145]
    Rating: 0.0/5 (0 votes cast)
    VA:F [1.9.13_1145]
    Rating: 0 (from 0 votes)

Leave a Reply

Spam protection by WP Captcha-Free

Proudly designed by Mistonline.in.
Affordable Seo PackagesSeo BlogEdu Backlinks