»
EnglishFrenchVietnamese

Print - Static Wave text - JavaScriptBank.com

Full version: jsB@nk » Text » Static Wave text
URL: https://www.javascriptbank.com/static-wave-text.html

Static Wave text © JavaScriptBank.comThe code creates a string that have characters with different size.

Full version: jsB@nk » Text » Static Wave text
URL: https://www.javascriptbank.com/static-wave-text.html



HTML
<SCRIPT language=JavaScript type=text/javascript><!--textString=" JavaScriptBank.com  "// - Add Space or Spaces at the Begining and/or End if undefined is displayed after text or if not the entire contents of message is displayed.var message=new Array();for(var i=1;i<textString.length;i++)  message[i-1]=textString.substring(i,i-1)var gx=0;for(gx=0;gx<(message.length)/4;gx++)  document.write("<b style='font-size:"+(gx+3)+"ex'>"+message[gx]+"</b>");for(var x=(message.length/4),gx;x>=0;x--,gx++)   document.write("<b style='font-size:"+(x+3)+"ex'>"+message[gx]+"</b>");for(var x=0,gx;x<message.length/6+1;x++,gx++)   document.write("<b style='font-size:"+(x+3)+"ex'>"+message[gx]+"</b>");for(var x=(message.length/4-2),gx;x>=0;x--,gx++)  document.write("<b style='font-size:"+(x+3)+"ex'>"+message[gx]+"</b>");//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->