»
AnglaisFran�aisVietnamien

Imprimer - Message d'aller et venir - JavaScriptBank.com

Version compl�te: jsB@nk » État » État » Message d'aller et venir
URL: https://www.javascriptbank.com/message-come-and-go.html

Message d'aller et venir © JavaScriptBank.comL'effet crée une message aller et venir dans état bar constamment.

Version compl�te: jsB@nk » État » État » Message d'aller et venir
URL: https://www.javascriptbank.com/message-come-and-go.html



JavaScript
<SCRIPT language=JavaScript>//Put Your Message between the asteriks * * don't remove them//var yourwords = "* Free Java Scripts from the Source! *";var buffer1="                        ";var buffer2="                        ";var message1=buffer1+yourwords+buffer2;var dir = "left";var speed = 75;function pingpong(){if (dir == "left")  {    message2=message1.substring(2,message1.length)+"  ";    window.status=message2;    setTimeout("pingpong();",speed);    message1=message2;    if (message1.substring(0,1) == "*") dir="right";  }else  {    message2="  "+message1.substring(0,message1.length-2);    window.status=message2;    setTimeout("pingpong();",speed);    message1=message2;    if (message1.substring(message1.length-1,message1.length) == "*") dir="left";  }}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onLoad="pingpong()"><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->