Version compl�te: jsB@nk » Texte » Animation » Desencriptacion effet
URL: https://www.javascriptbank.com/desencriptacion-effect.html
Cet Le code JavaScript affiche votre texte à travers les caractères aléatoire.
Version compl�te: jsB@nk » Texte » Animation » Desencriptacion effet
URL: https://www.javascriptbank.com/desencriptacion-effect.html
<script language="javascript">/*Desencriptacion effectThis javascript is FreewareThis may be used freely as long as this msg is intact!By Carlos Busón Buesa © 2001E-Mail: [email protected](http://www.buson.net)*/var data="A45C$kD?G~HJ¡nK#N¿01a23@5ç67*8"; //var data="caracteres a incluir para el efecto"var done=1;function Desencr(DesencrText, max, delay){ if (done){ done = 0; Desencr_helper(DesencrText, max, delay, 0, max); }}function Desencr_helper(DesencrText, runs_left, delay, charvar, max){ if (!done){ runs_left = runs_left - 1; var status = DesencrText.substring(0,charvar); for(var current_char = charvar; current_char < DesencrText.length; current_char++){ status += data.charAt(Math.round(Math.random()*data.length)); } if(document.layers){ writeText="document.textoDes.document.write('')" closeDesencr="document.textoDes.document.close()" finelineColor="" finelineSize="" finelineFont="" }else if (document.all){ writeText='document.all.textoDes.innerText=status' finelineSize='document.all.textoDes.style.fontSize=40' //tamaño de la fuente closeDesencr="" finelineColor="document.all.textoDes.style.color='#E8E8E8'" //color del texto finelineFont="document.all.textoDes.style.fontFamily='verdana'" //fuente de texto } eval(writeText);eval(closeDesencr);eval(finelineSize);eval(finelineFont);eval(finelineColor) var rerun = "Desencr_helper('" + DesencrText + "'," + runs_left + "," + delay + "," + charvar + "," + max + ");" var new_char = charvar + 1; var next_char = "Desencr_helper('" + DesencrText + "'," + max + "," + delay + "," + new_char + "," + max + ");" if(runs_left > 0){ setTimeout(rerun, delay); }else{ if (charvar < DesencrText.length){ setTimeout(next_char, Math.round(delay*(charvar+3)/(charvar+1))); }else{ done = 1; } }}}//funcion escribe (aqui va el texto , la variación del nº de caracteres y el tiempo de decodificación )function escribe(){ Desencr('JavaScriptBank.com - Bank of over 2000+ free JavaScripts',2,5);}</script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<body onload="escribe()"><div id="textoDes"></div></body><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->