Full version: jsB@nk » Form » Button » Marqueeing Text in Button
URL: https://www.javascriptbank.com/marqueeing-text-in-button.html
By using string manipulation and setTimeout, you can have the letters on a button 'scroll'. Run the code for an easy example.
Full version: jsB@nk » Form » Button » Marqueeing Text in Button
URL: https://www.javascriptbank.com/marqueeing-text-in-button.html
<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-->
<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-->