»
EnglishFrenchVietnamese

Print - Dynamic Text Fader script - JavaScriptBank.com

Full version: jsB@nk » Text » Fade-Glow » Dynamic Text Fader script
URL: https://www.javascriptbank.com/dynamic-text-fader-script.html

Dynamic Text Fader script © JavaScriptBank.comAdd as many messages, colors, and even your own background image to this text fader. There's virtually no limit to the overall size and length of the messages this script can display.

Full version: jsB@nk » Text » Fade-Glow » Dynamic Text Fader script
URL: https://www.javascriptbank.com/dynamic-text-fader-script.html



JavaScript
<script language="javascript">/*     E-Mail: [email protected]*///Edit the speed of the fadevar speed=100//Don't Edit below this linevar cf1="0"var cf2="0"function animate(){var f1=new Array()f1[1]="0"f1[2]="15"f1[3]="35"f1[4]="55"f1[5]="95"f1[6]="100"f1[7]="130"f1[8]="140"f1[9]="190"f1[10]="230"f1[11]="240"f1[12]="256"f1[13]="240"f1[14]="220"f1[15]="190"f1[16]="120"f1[17]="90"f1[18]="70"f1[19]="30"f1[20]="10"f1[21]="0"var f2=new Array()f2[1]="0"f2[2]="15"f2[3]="35"f2[4]="55"f2[5]="75"f2[6]="95"f2[7]="120"f2[8]="150"f2[9]="180"f2[10]="210"f2[11]="240"f2[12]="256"f2[13]="240"f2[14]="230"f2[15]="200"f2[16]="180"f2[17]="150"f2[18]="100"f2[19]="70"f2[20]="20"f2[21]="0"cf1=(cf1==21)?1:++cf1cf2=(cf2==21)?1:++cf2document.all.TextFader.style.fontWeight="bold"/* ***IMPORTANT***  If you want to change the color just play with the number - 256 -(below)*/document.all.TextFader.style.color='rgb(' + f1[cf1] + ',' + f2[cf2] + ',256)'setTimeout("animate()",speed)}window.onload=animate</script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<div id="TextFader"><font size="5">JavaScriptBank.com - Bank of over 2000+ free JavaScripts</font></div><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->