»
EnglishFrenchVietnamese

Print - Pulse Stretch Enlarge Text effect - JavaScriptBank.com

Full version: jsB@nk » Text » Fade-Glow » Pulse Stretch Enlarge Text effect
URL: https://www.javascriptbank.com/pulse-stretch-enlarge-text-effect.html

Pulse Stretch Enlarge Text effect © JavaScriptBank.comPulse Stretch Enlarge Text is a Text Effect that simulates pulsating, then stretching and repositioning, and finally enlarges itself.

Full version: jsB@nk » Text » Fade-Glow » Pulse Stretch Enlarge Text effect
URL: https://www.javascriptbank.com/pulse-stretch-enlarge-text-effect.html



JavaScript
<SCRIPT language=JavaScript type=text/javascript><!--var TEXT="JavaScriptBank.com";var rgbCount=255,rgbCountII=0;var bool=boole=bools=true;var divs0;var TimerCnt=bcount=0;var T=10;var Start=30,End=35;var stretchCount=stretchCountII=0,fontCount=End;var MXSTRETCH=50;var MXFONT=60;var allCount=0;window.onload=Page_Load;function Page_Load(){  divs0=document.getElementById('did0');divs0.innerHTML=TEXT;divs0.style.fontSize=Start;  Recursion();} function Recursion(){ if(rgbCount>=0){   divs0.style.color="rgb("+rgbCount+","+rgbCount+","+rgbCount+")";  rgbCount-=4;}else if(rgbCountII<=255){  divs0.style.color="rgb("+rgbCountII+","+rgbCountII+","+rgbCountII+")";  rgbCountII+=4;}else if(bool){  divs0.style.fontSize=End;bool=false;}else if(TimerCnt<5){  TimerCnt+=1;}else if(boole){  divs0.style.fontSize=Start;boole=false;}else if(allCount<2){   rgbCount=255,rgbCountII=0;bool=boole=true;TimerCnt=0;allCount++;}else if(bools){   if(bcount<20) bcount++;else{   bools=false; T=20;}}else if(stretchCount<=MXSTRETCH){  divs0.style.letterSpacing=stretchCount;stretchCount+=1;}else if(stretchCountII>=0){   divs0.style.letterSpacing=stretchCountII;stretchCountII-=1;} else if(fontCount<=MXFONT){  divs0.style.fontSize=fontCount;fontCount+=1;}setTimeout("Recursion();",T);}//--></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></DIV><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->