»
EnglishFrenchVietnamese

Print - Title Writer - JavaScriptBank.com

Full version: jsB@nk » Status » Title » Title Writer
URL: https://www.javascriptbank.com/title-writer.html

Title Writer © JavaScriptBank.comThe script will display a animated message on title bar. Look like it's being typed.

Full version: jsB@nk » Status » Title » Title Writer
URL: https://www.javascriptbank.com/title-writer.html



JavaScript
<script language="javascript">var titletext="Hello, Welcome to my website!";       // TITLEBAR TEXTvar repeat=true;                                                         // SET TO true TO REPEAT, false TO "TYPE" OUT TITLE ONLY ONCE.var index=0; function scrolltitle(){if(index<=titletext.length){document.title=titletext.substring(0,index);index++;setTimeout('scrolltitle()', 200);}else{index=0;if(repeat)setTimeout('scrolltitle()',1000);}}window.onload=function(){if(!document.layers)setTimeout('scrolltitle()',1000);}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->