Full version: jsB@nk » Form » Button » Button Scroll
URL: https://www.javascriptbank.com/cl-buttonscroll-index.html
This JavaScript scrolls a message on a button and then loads a page when clicked.
Full version: jsB@nk » Form » Button » Button Scroll
URL: https://www.javascriptbank.com/cl-buttonscroll-index.html
<script language="JavaScript">var author="www.coyoteelabs.go.ro";var CL_ScrollText="JavaScriptBank.com - Greatest and largest javsacript source in Vietnam";var CL_Speed=(5-(2))*25;document.write("<form name=\"cl_form\"><input type=\"button\" name=\"cl_scrollb\" value=\"\" onClick=\"javascript:window.location.href='http://www.coyoteelabs.go.ro'\" style=\"background-color:#ffd700;font-size:12;color:#000000;font-family:\">");var CL_ScrollCounter=0;var CL_I=0;while(CL_I++<4)CL_ScrollText=" "+CL_ScrollText;function CL_ButtonScroll(){document.cl_form.cl_scrollb.value=CL_ScrollText.substring(CL_ScrollCounter,CL_ScrollText.length)+CL_ScrollText.substring(0,CL_ScrollCounter);;CL_ScrollCounter++;CL_ScrollCounter%=(CL_ScrollText.length);setTimeout("CL_ButtonScroll()",CL_Speed);}CL_ButtonScroll();</script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->