»
AnglaisFran�aisVietnamien

Imprimer - Dynamic Word Play script - JavaScriptBank.com

Version compl�te: jsB@nk » Texte » Animation » Dynamic Word Play script
URL: https://www.javascriptbank.com/dynamic-word-play-script.html

Dynamic Word Play script © JavaScriptBank.comDynamic Word Play est un DHTML Qui combine un effet saisissant/tapant effet inverse avec l'élargissement. Passe par une quantité variable de phrases.

Version compl�te: jsB@nk » Texte » Animation » Dynamic Word Play script
URL: https://www.javascriptbank.com/dynamic-word-play-script.html



CSS
<STYLE type=text/css>BODY {BACKGROUND-COLOR: black}SPAN.effect {COLOR: #00ff00; FONT-SIZE: 30px}</STYLE><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


JavaScript
<SCRIPT language=JavaScript type=text/javascript><!--var message=["JavaScriptBank.com","Bank of over 2000+ free JavaScripts","ENTER"];var URL="http://JavaScriptBank.com";var MINI=30;var MAXI=50;var size=MINI; // - Font Sizevar T=75; // - Timer (milliseconds)var cnt=0;var bool=true;var spans=new Object(); spans.length=3;var gcount=0;var fcount=0,bcount=message[gcount].length-1;window.onload=main;function main(){animSpans();for(var x=0;x<spans.length;x++) document.getElementById('sid'+x).onclick=RHUCKO1;}function animSpans(){  if(fcount<=message[gcount].length||bcount>=0)  {  document.getElementById('sid1').style.fontSize=30;document.getElementById('sid1').innerHTML=message[gcount];if(fcount<=message[gcount].length){      document.getElementById('sid0').innerHTML=message[gcount].substring(fcount,0);fcount++;}if(bcount>=0){    document.getElementById('sid2').innerHTML=message[gcount].substring(bcount,0);    bcount--;}  }else if(cnt<2){  bcount=message[gcount].length;fcount=0;  cnt++;}else if(bool){ // - Cross-Browser  document.getElementById('sid0').innerHTML="";  bool=false;}else if(size<MAXI){ // - Dynamic Word Play JavaScript  document.getElementById('sid1').style.fontSize=size;size+=1;}else if(gcount==message.length-1){ // - Dynamic Scripts - http://JavaScriptBank.com  document.getElementById('sid1').style.fontWeight="bold";}else if(gcount<message.length-1){  bcount=message[gcount].length;fcount=0;cnt=0;bool=true;size=MINI;  gcount++;} setTimeout("animSpans();",T);}function RHUCKO1(){  location.href=URL;}//--></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<DIV id=did0><SPAN class=effect id=sid0></SPAN><BR><SPAN class=effect id=sid1></SPAN><BR><SPAN class=effect id=sid2></SPAN><BR></DIV><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->