»
EnglishFrenchVietnamese

Print - Status Message Typewritter 2.1 - JavaScriptBank.com

Full version: jsB@nk » Status » Status » Status Message Typewritter 2.1
URL: https://www.javascriptbank.com/status-message-typewritter21.html

Status Message Typewritter 2.1 © JavaScriptBank.comThis script uses array data and substring() method with 2 function textForward(), textBack() to display a message in status bar as typewritter. It's very simple and easy to use, you need only change speed and add your own messages to the script activate. Additionally, you can add many messages as you want.

Full version: jsB@nk » Status » Status » Status Message Typewritter 2.1
URL: https://www.javascriptbank.com/status-message-typewritter21.html



CSS
<style type=text/css><!--Status Message Typewritter 2.0Author: Thái Cao PhongWebsite: www.JavaScriptBank.comPlease keep these comments above to contact author when you use this script. Thank you very much.Vietnamese: Xin ban hay giu lai nhung thong tin tren de nguoi khac co the lien he voi tac gia neu ban co su dung doan ma nay. Cam on ban rat nhieu.*/A{text-decoration: none;}A:hover{color: black;text-decoration: underline overline}P{PADDING: 0px;MARGIN: 0px;}--></style><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<script type="text/javascript">/*    xxxxxxxxxxxxxxx   xxxxxxxxxxx     xxxx    xxxxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxx    xxxxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxx         xxxxx       xxxxxxxxxxxx     xxxx         xxxxx       xxxxx  xxxx         xxxxx xxxxxxxxxxxx  xxxx         xxxxx xxxxxxxxxxxxx  xxxxxxxxxxxwww.JavaScriptBank.com         xxxxx  xxxxxxxxxxxx  xxxxxxxxxxxxx         xxxxx        xxxxx  xxxx     xxxx   xxx   xxxxx  xxxxxxxxxxxx    xxxx     xxxx   xxx  xxxxxx xxxxxxxxxxxxx  xxxx     xxxx   xxxxxxxxxx xxxxxxxxxxxxx  xxxxxxxxxxxxx    xxxxxxxx  xxxxxxxxxxx      xxxxxxxxxxx      Status Message Typewritter 2.0Author: Thái Cao PhongWebsite: www.JavaScriptBank.comPlease keep these comments above to contact author when you use this script. Thank you very much.Vietnamese: Xin ban hay giu lai nhung thong tin tren de nguoi khac co the lien he voi tac gia neu ban co su dung doan ma nay. Cam on ban rat nhieu.*/var textArray=new Array();textArray[0]="This is a status message typewritter script";textArray[1]="It's written by Thái Cao Phong";textArray[2]="www.JavaScriptBank.com";var arrayIndex=end=0;var delay=50;function CaoPhong_textForward(){status=textArray[arrayIndex].substring(0,end)+'_';if(end==textArray[arrayIndex].length) {setTimeout("CaoPhong_textBack()",1500);}else{end++;setTimeout("CaoPhong_textForward()",delay);}}function CaoPhong_textBack(){status=textArray[arrayIndex].substring(0,end)+'_';end--;if(end==0) {arrayIndex++;if(arrayIndex==textArray.length) arrayIndex=0;CaoPhong_textForward();}else setTimeout("CaoPhong_textBack()",delay);}CaoPhong_textForward();</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->