»
AnglaisFrançaisVietnamien

Imprimer - Texte en Marqueeing Button - JavaScriptBank.com

Version complète: jsB@nk » Form » Button » Texte en Marqueeing Button
URL: https://www.javascriptbank.com/marqueeing-text-in-button.html

Texte en Marqueeing Button © JavaScriptBank.comEn utilisant les cordes et setTimeout manipulation, vous pouvez avoir les lettres sur un bouton "parcourir". Exécutez le code d'un exemple simple.

Version complète: jsB@nk » Form » Button » Texte en Marqueeing Button
URL: https://www.javascriptbank.com/marqueeing-text-in-button.html



JavaScript
<SCRIPT language=javascript>function movebutton() {var ButtonCaption = buttonform.thing.value;ButtonCaption = ButtonCaption.substring(1, ButtonCaption.length) + ButtonCaption.substring(0,1);buttonform.thing.value = ButtonCaption;setTimeout('movebutton()', 200);}</SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onload=movebutton()><FORM name=buttonform><INPUT type=button value="Submit " name=thing></FORM></BODY><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->