Text Effects >>> Pushing Text.
 
Script Categories













Text Effects >>> Pushing Text.

Pushes letters of your text.

Add the below code to the <body> section of your page:

<script language="JavaScript" type="Text/JavaScript">
//Made by 1st JavaScript Editor
//http://www.yaldex.com
//Come and get more (free) products

fifteenth="Your Text Here";sixteenth=1;var nineteenth=document.getElementById && document.all;seventeenth=new Array();seventeenth[0]=-1;seventeenth[1]=-3;seventeenth[2]=-6;seventeenth[3]=-10;seventeenth[4]=-8;seventeenth[5]=-3;seventeenth[6]=-2;eighteenth=0;twentieth=0;first2="";
function second2(){
if (nineteenth && !sixteenth){third2.innerHTML=fifteenth;return;}
if(fifteenth.length > 6){
for(fourth2=0; fourth2 != fifteenth.length;fourth2++){first2=first2+"<span style='position:relative;' id='n"+fourth2+"'>"+fifteenth.charAt(fourth2)+"</span>"};third2.innerHTML=first2;first2="";fifth2();}
else{alert("Too short message!");}}
function fifth2(){sixth2=(document.getElementById)? document.getElementById("n0") : document.all.n0;sixth2.style.left=-twentieth;
if(twentieth != 9){twentieth=twentieth+3;setTimeout("fifth2()",30);}
else{fifteenth3();}}
function fifteenth3(){sixth2.style.left=-twentieth;
if(twentieth != 0){twentieth=twentieth-3;setTimeout("fifteenth3()",30)}
else{seventeenth3();}}
function seventeenth3(){first2="";
for(fourth2=0;fourth2 != fifteenth.length;fourth2++){
if(fourth2+eighteenth > -1 && fourth2+eighteenth < 7){first2=first2+"<span style='position:relative;top:"+seventeenth[fourth2+eighteenth]+"'>"+fifteenth.charAt(fourth2)+"</span>";}
else{first2=first2+"<span>"+fifteenth.charAt(fourth2)+"</span>";}}third2.innerHTML=first2;first2="";
if(eighteenth != (-fifteenth.length)){eighteenth--;setTimeout("seventeenth3()",30);}
else{eighteenth=0;setTimeout("second2()",30);}}
</script>
<h1><div align="center" id="eighteenth3" style="color:red"></div></h1>
<script language="javascript" type="text/javascript">
if (document.all||document.getElementById){third2=(document.getElementById)? document.getElementById("eighteenth3") : document.all.eighteenth3;second2();}else document.write(fifteenth);
</script>

JavaScript Editor Get Advanced
JavaScript and Ajax Editor,
Validator and Debugger!

1st JavaScript Editor.



Code was highlighted by 1st JavaScript Editor (The Best JavaScript Editor!).




©