Admin Admin
Posts : 76 Points : 119 Reputation : 6 Join date : 2009-07-20 Age : 31 Location : Manila
| Subject: Typewritter Effect on yout Shoutout(cool) Tue Jul 28, 2009 2:33 am | |
| This Code can make your shout out move like a typewriter put this code on your Javasript File: - Code:
-
//shout x1=0;c1=0;cache=new Array()
setTimeout('clearIt()',4000)
function clearIt(){
tSpan3 = document.getElementById('cpShoutoutBox')
cSpan3 = tSpan3.getElementsByTagName('Span')
for(p=0;p<cSpan3.length;p++){
cache[p]=cSpan3[p].innerHTML cSpan3[p].innerHTML='' }
toSpan3() }
function toSpan3(){ if(x1<cSpan3.length){ typeIn = cache[x1] tp=setInterval('typeIt()', 40) }else{ p=0;x1=0;c=0;setTimeout('clearIt()', 500) } }
function typeIt(){ if(cSpan3[x1]!=null && c1<=typeIn.length){ cSpan3[x1].innerHTML = typeIn.substring(0,c1++) }else{ clearInterval(tp);x1++; c1=0;toSpan3() } }
credits: fstalk and Angell de Ville/Blurrycloud | |
|
ronnel_arbutante Moderator
Posts : 285 Points : 350 Reputation : 1 Join date : 2009-07-26 Age : 29 Location : Muntinlupa City
| Subject: Re: Typewritter Effect on yout Shoutout(cool) Tue Jul 28, 2009 7:31 am | |
| oi...
hala...
di ako marunong gumawa ng JS...
hahahahahahaha....
la bang pang CSS??
hahahhaha...
^_^ | |
|
ccvision Co-Admin
Posts : 32 Points : 43 Reputation : 0 Join date : 2009-07-26 Age : 32 Location : OHIO
| Subject: Re: Typewritter Effect on yout Shoutout(cool) Tue Jul 28, 2009 2:54 pm | |
| sa website ba to oh sa o sa fs? | |
|
Sponsored content
| Subject: Re: Typewritter Effect on yout Shoutout(cool) | |
| |
|