Full version: jsB@nk » Text » Fade-Glow » The A.C Slide
URL: https://www.javascriptbank.com/the-a-c-slide.html
This JavaScript slides any text you want to the side. It also changes between colors. You can customize it all. If you put in tags to center, the script does something cool.
Full version: jsB@nk » Text » Fade-Glow » The A.C Slide
URL: https://www.javascriptbank.com/the-a-c-slide.html
<SCRIPT language=javascript>/* By: Aaron Connelly E-Mail: [email protected] Must stay intact for use*///How fast the text will slidevar speed=100//The Messagevar msg="JavaScriptBank.com"//The Text Sizevar size="7"//Don't Edit below this line - Except the colors.var s="0"var i="0"function slide(){var indent=new Array()indent[1]="0pt"indent[2]="5pt"indent[3]="10pt"indent[4]="15pt"indent[5]="20pt"indent[6]="25pt"indent[7]="30pt"indent[8]="25pt"indent[9]="20pt"indent[10]="15pt"indent[11]="10pt"indent[12]="5pt"indent[13]="0pt"indent[14]="-5pt"indent[15]="0pt"indent[16]="0pt"indent[17]="0pt"indent[18]="0pt"indent[19]="0pt"indent[20]="0pt"i=(i==20)?1:++i//You can Edit the colorsvar color=new Array()color[1]="blue"color[2]="red"color[3]="green"//Don't Edit below this lines=(s==3)?1:++svar code="<font size=" + size + " color='" + color[s] + "'>" + msg + "</font>"document.all.M1.style.letterSpacing=indent[i]document.all.M1.innerHTML=codesetTimeout("slide()",speed)}window.onload=slide</SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<DIV align=center id=M1></DIV><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->