Phiên bản đầy đủ: jsB@nk » Chữ » Hoạt hóa » Chữ nhảy múa
URL: https://www.javascriptbank.com/random-text-resizer-script.html
Hiệu ứng sẽ tạo ra một dòng chữ với các kí tự có kích thước ngẫu nhiên.
Phiên bản đầy đủ: jsB@nk » Chữ » Hoạt hóa » Chữ nhảy múa
URL: https://www.javascriptbank.com/random-text-resizer-script.html
<SCRIPT language=JavaScript type=text/javascript><!--// - Please Note that you Will Have To REMOVE Content Generated By the Server or you may Recieve a Stack Overflow Message, They are usually located at the bottom and in the Head Sections of the Page. Sorry I have no control over this, since I'm using their services.var DYNAMIC="JavaScriptBank.com - Bank of over 2000+ free JavaScripts"; // <- Type Message within Quotesvar end=true;var T=300, Timer;var /* Richard */ hUcKo; // Represents Random Number var HaWaIi=0,hAwAiI=20;// - HaWaIi = gcount, hAwAiI = Maximumvar RHUCKO1=0;var URL="http://JavaScriptBank.com";window.onload=Richard_Hucko;function Richard_Hucko(){ for(var Hucko = 0;Hucko < DYNAMIC.length;Hucko++){ creatSpansRichard(Hucko);}Richards_Recursion();}function creatSpansRichard(RHucko1){ HUCKO=RHucko1+1; Hucko_Spans=document.createElement('span');Hucko_Spans.id="Hawaii"+RHucko1;Hucko_Spans.innerHTML=(DYNAMIC.substring(HUCKO,HUCKO-1)==" ")?"<b style='visibility:hidden;'>_</b>":DYNAMIC.substring(HUCKO-1,HUCKO);with(Hucko_Spans.style){ fontSize=30;}Hucko_Spans.onclick=JAVASCRIPTS;document.getElementById('Hawaii-JavaScripts').appendChild(Hucko_Spans);}function RICHARD(){ for(var HAWAII=0;HAWAII<DYNAMIC.length;HAWAII++) { hUcKo=Math.floor(Math.random()*5);if(hUcKo==0)hUcKo=4;else if(hUcKo==0)hUcKo=5;else if(hUcKo==1)hUcKo=1; document.getElementById('Hawaii'+HAWAII).style.fontSize=eval(hUcKo*10)+"px"; }}function JAVASCRIPTS(){ location.href=URL;}function Richard(){ clearTimeout('Timer');}function Richards_Recursion(){ if(HaWaIi<hAwAiI) { RICHARD(); HaWaIi++; } else if(end) { KANEOHE(); end=false; T=10; } else if(RHUCKO1<DYNAMIC.length) { document.getElementById('Hawaii'+RHUCKO1).style.fontSize=50+"px"; RHUCKO1+=1; } else if(end!=true) { Richard(); end=true; }Timer=setTimeout("Richards_Recursion();",T);}function KANEOHE(){ for(var kaneohe= 0 ; kaneohe< DYNAMIC.length;kaneohe++ ) document.getElementById('Hawaii'+kaneohe).style.fontSize=30+"px";}//--></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<DIV id=Hawaii-JavaScripts name="JavaScript-Hawaii"></DIV><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->