»
EnglishFrenchVietnamese

Print - Scrolling Text in a Button - JavaScriptBank.com

Full version: jsB@nk » Form » Button » Scrolling Text in a Button
URL: https://www.javascriptbank.com/scrolling-text-in-a-button.html

Scrolling Text in a Button © JavaScriptBank.comThis JavaScript makes a scrolling text in a button.

Full version: jsB@nk » Form » Button » Scrolling Text in a Button
URL: https://www.javascriptbank.com/scrolling-text-in-a-button.html



JavaScript
<SCRIPT language=JavaScript><!-- Hide from old browsersvar b_m=" Click Here!..";  function b_scroll() {    b_m=b_m.substring(1,b_m.length)+ b_m.substring(0,1);    document.forms[0].move_b.value=b_m;    setTimeout("b_scroll()",150);  }// end hiding --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<BODY onload=b_scroll()><FORM><INPUT onclick="alert('Hows about that then?')" type=button value="Click Here!" name=move_b></FORM></BODY><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->