»
AnglaisFran�aisVietnamien

Imprimer - Ecrire du texte dans la barre de statut - JavaScriptBank.com

Version compl�te: jsB@nk » État » État » Ecrire du texte dans la barre de statut
URL: https://www.javascriptbank.com/write-text-in-status-bar.html

Ecrire du texte dans la barre de statut © JavaScriptBank.comCet effet permet aux utilisateurs d'écrire les mots en état bar.

Version compl�te: jsB@nk » État » État » Ecrire du texte dans la barre de statut
URL: https://www.javascriptbank.com/write-text-in-status-bar.html



JavaScript
<script language=\\\"JavaScript\\\">//by Brett Burridgefunction JSrot13(text) {var rot13text_rotated = \\\"\\\"; /* the function will return this string */;for (i = 1 ; i < (text.length + 1); i++) {k = text.charCodeAt(i-1);if (k >= 97 && k <= 109) {k = k + 13;} else  if (k >= 110 && k <= 122) {k = k - 13;} else if (k >= 65 && k <= 77) {k = k + 13;} elseif (k >= 78 && k <= 90) {k = k - 13;}  rot13text_rotated = rot13text_rotated + String.fromCharCode(k); }return rot13text_rotated;}</script><script language=\\\"JavaScript\\\">function displayROT13() {var t = self.text1.valuewindow.status=(t);window.text1.value = JSrot13(self.text1.value);}</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com--><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com--><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
Enter text to transform using the ROT13 method: <input type=\\\"text\\\" size=\\\"20\\\" name=\\\"text1\\\"> <input type=\\\"submit\\\" value=\\\"Go!\\\" name=\\\"button1\\\" onclick=\\\"displayROT13()\\\"><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com--><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com--><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->