Change web page title using javascript
Change web page title using javascript
Change web page title using javascript
The below script can be used to dynamically change title on the browser. There is a delay variable in the script you can modify it according to your convenience. By changing this value you can even Animate the web page title to an extend 🙂
<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 🙂
Change web page title using javascript,Incoming search terms:
- flash title bar JavaScript (49)
- javascript title bar (20)
- javascript flash title bar (13)
- javascript alert title bar change (2)
- javascript title bar message (1)
- javascript change title bar (1)
- javascript alert blink browser titlebar (1)
- java title bar (1)
- java obtaining messages from title bar (1)
- win7 background of the ExpandBar (1)
not bad…good one admin…
A good website
what a website/.
a nice website..
cool site…
proper…the best
i like this site
a nice website
one of the best website for tutorials and scripts
a nice one..i like it..
A very good website especially for javascript and php
Cool website for title bar stuff using javascript 🙂 expecting more…..
Good article.