»
EnglishFrenchVietnamese

Print - Wild Color Text Effect - JavaScriptBank.com

Full version: jsB@nk » Text » Fade-Glow » Wild Color Text Effect
URL: https://www.javascriptbank.com/wild-color-text-effect.html

Wild Color Text Effect © JavaScriptBank.comWild Color Text is a Text Effect that runs through RGB Values, modifies glow color (in IE 5+ Only), and modifies font size. (Does not Work in Opera Internet Browser).

Full version: jsB@nk » Text » Fade-Glow » Wild Color Text Effect
URL: https://www.javascriptbank.com/wild-color-text-effect.html



JavaScript
<SCRIPT language=JavaScript type=text/javascript><!-- Hide From Non-JavaScript Browsers . . .var Text="JavaScriptBank.com";var colors=new Array("red","green","blue","white","#00ff00","yellow","blue","green","red","white","#00FF00");var MINIMUM=7,MAXIMUM=9; // - Minimum and Maximum font Growthvar substrCount=1;var SCRIPTING;var RED=GREEN=BLUE=0;var red=green=blue=255;var cnt=0;var amt=10; // - Amount Increased each Iterationvar bool=1;var BOOL=Bool=bools=true;var T=10;var gcount=0;window.onload=Page_Load_Script;function Page_Load_Script(){ for(var Hucko=0;Hucko<Text.length;Hucko++)  Dynamic_JavaScripts_CreateSpans(); Animate_Spans();}function Dynamic_JavaScripts_CreateSpans(){  SCRIPTING=document.createElement('span');with(SCRIPTING){ onclick=goNow; innerHTML=Text.substring(substrCount,substrCount-1); id="Richards"+(substrCount-1);  with(style){  position="relative";    fontWeight="bold";fontSize=MINIMUM+"ex";width=15;height=10;}}document.getElementById('Scripts_Collect_By_JeTsPring').appendChild(SCRIPTING);substrCount++; }function goNow(){  location.replace("http://www.JavaScriptBank.com");}function Animate_Spans(){  if(RED<255){    document.getElementById("all").style.color="rgb("+[RED+=amt]+","+GREEN+","+BLUE+")";}else if(GREEN<255){  document.getElementById("all").style.color="rgb("+RED+","+[GREEN+=amt]+","+BLUE+")";}else if(BLUE<255){  document.getElementById("all").style.color="rgb("+RED+","+GREEN+","+[BLUE+=amt]+")";}else if(red>=0){    document.getElementById("all").style.color="rgb("+[red-=amt]+","+green+","+blue+")";}else if(green>=0){  document.getElementById("all").style.color="rgb("+red+","+[green-=amt]+","+blue+")";}else if(blue>=0){  document.getElementById("all").style.color="rgb("+red+","+green+","+[blue-=amt]+")";}else if(bool){  RED=GREEN=BLUE=0;red=green=blue=255;bool=0;}else if(BOOL){ for(var RHUCKO1=0;RHUCKO1<Text.length;RHUCKO1++)   document.getElementById('Richards'+RHUCKO1).style.filter="glow()"; BOOL=false;}else if(cnt<colors.length){   T=100;for(var HUCKO=0;HUCKO<Text.length;HUCKO++)  document.getElementById('Richards'+HUCKO).style.filter="glow(color="+colors[cnt]+")";cnt++;}else if(Bool){  for(var RHUCKO=0;RHUCKO<Text.length;RHUCKO++)  document.getElementById('Richards'+RHUCKO).style.fontSize=MAXIMUM+"ex";Bool=false;}else if(bools){  for(var RICHARD=0;RICHARD<Text.length;RICHARD++)  document.getElementById('Richards'+RICHARD).style.fontSize=MINIMUM+"ex";bools=false;}else if(gcount<Text.length){if(gcount==0){  document.getElementById('Richards'+gcount).style.fontSize=(MAXIMUM+2)+"ex";gcount++;}  else{  document.getElementById('Richards'+[gcount-1]).style.fontSize=(MINIMUM)+"ex";    document.getElementById('Richards'+gcount).style.fontSize=(MAXIMUM+2)+"ex";gcount++;}} else{ for(var SCRIPTS=0;SCRIPTS<Text.length;SCRIPTS++)  document.getElementById('Richards'+SCRIPTS).style.fontSize=MINIMUM+"ex";} setTimeout("Animate_Spans();",T);}//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<CENTER id=all><SPAN id=Scripts_Collect_By_JeTsPring></SPAN></CENTER><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->