Full version: jsB@nk » Text » Fade-Glow » Sequential Random Filters
URL: https://www.javascriptbank.com/sequential-random-filters.html
Sequential Random Filters is a text effect that sequentially randomizes characters in a phrase, by applying an IE filter. Then ends with a dark blue glow filter. (IE 5.5+ Only).
Full version: jsB@nk » Text » Fade-Glow » Sequential Random Filters
URL: https://www.javascriptbank.com/sequential-random-filters.html
<SCRIPT language=JavaScript type=text/javascript><!--/******************************************************************************** - Sequential Random Filters (IE 5.5+ Only) *********************************************************************************////////////////////////////////////////////////////////////////////////////////////var Message="^ Sequential ^ Random ^ Filters ^"; // - The caret (^) character gets changed to an asterisk (*) with break (br) tags which moves it slightly higher than the other characters///////////////////////////////////////////////////////////////////////////////////var Rand_Style=new Array();var T=10,Timer;var TxtVar=0,varTxt=0,MAXVARTXT=5;var BOOL=true;Rand_Style=["flipv()","fliph()","shadow(color=#00ff00)","glow(color=#00ff00)"];var LAST_FILTER="glow(color:darkblue,strength=10)";var HREF="http://JavaScriptBank.com";window.onload=Load_Script;var JavaScripts=Message.length;function Load_Script(){ mkElems();modFilt(true,0,true);anmTxt();}function mkElems(){ for(var TmpVar=0;TmpVar<JavaScripts;TmpVar++) creatSpans(TmpVar);}function creatSpans(KANEOHE){ HAWAII=KANEOHE+1; DHTML=document.createElement('span');with(DHTML.style){ // - Styles width="20px";height="30px";position="relative"; color="white"; fontWeight=900;fontSize=30+"px"; // - End Styles}DHTML.className="DYNAMIC";DHTML.onclick=Redirect;DHTML.id="HUCKO"+KANEOHE;if(Message.substring(HAWAII,HAWAII-1)==" ") DHTML.innerHTML="<b style='visibility:hidden;'>_</b>";else if(Message.substring(HAWAII,HAWAII-1)=="^") DHTML.innerHTML="<br />*<br />";else DHTML.innerHTML=Message.substring(HAWAII,HAWAII-1);document.getElementById('Target_Elem').appendChild(DHTML);}function Redirect(){ location.href=HREF;}function modFilt(ALL,ONE,RAND){if(ALL){ for(var HI=0;HI<JavaScripts;HI++) { rand=Math.floor(Math.random()*Rand_Style.length); with(document.getElementById('HUCKO'+HI).style) { // - Styles if(RAND==true) { filter=Rand_Style[rand]; } else { filter=LAST_FILTER; } // - End Styles } }}else{ rand=Math.floor(Math.random()*Rand_Style.length); with(document.getElementById('HUCKO'+ONE).style) { // - Styles if(RAND==true) { filter=Rand_Style[rand]; } else { filter=LAST_FILTER; } // - End Styles }}}function anmTxt(){ if(TxtVar<JavaScripts){ modFilt(false,TxtVar,true); TxtVar++;}else if(varTxt<MAXVARTXT){ TxtVar=0; varTxt++;}else if(BOOL){ modFilt(true,0,false);BOOL=false;}Timer=setTimeout("anmTxt();",T);}//--></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<DIV id=Target_Elem></DIV><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->