TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!

TechMates

Life is Useless without TechMates
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 Typewritter Effect on yout Shoutout(cool)

Go down 
AuthorMessage
Admin
Admin
Admin
avatar

Posts : 76
Points : 119
Reputation : 6
Join date : 2009-07-20
Age : 26
Location : Manila

PostSubject: Typewritter Effect on yout Shoutout(cool)   Tue Jul 28, 2009 2:33 am

This Code can make your shout out move like a typewriter Very Happy


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

_________________
YM: jorgy_rom

"Kahit hindi naging tau sa huli..,Ikaw parin ang First Love ko"
Back to top Go down
View user profile http://www.jorgyrom.tk
ronnel_arbutante
Moderator
avatar

Posts : 285
Points : 350
Reputation : 1
Join date : 2009-07-26
Age : 24
Location : Muntinlupa City

PostSubject: 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...


^_^

_________________
Create your own banner at mybannermaker.com!
Back to top Go down
View user profile
ccvision
Co-Admin
avatar

Posts : 32
Points : 43
Reputation : 0
Join date : 2009-07-26
Age : 26
Location : OHIO

PostSubject: Re: Typewritter Effect on yout Shoutout(cool)   Tue Jul 28, 2009 2:54 pm

sa website ba to oh sa o sa fs?
Back to top Go down
View user profile http://cortlandt.weebly.com
Sponsored content




PostSubject: Re: Typewritter Effect on yout Shoutout(cool)   

Back to top Go down
 
Typewritter Effect on yout Shoutout(cool)
Back to top 
Page 1 of 1
 Similar topics
-
» Breeding Bristlenose, What effect to Hormones have?
» Cool new 1/35 scale sci-fi/Girly figures....
» The RB-Effect - the answer to earthquake
» Crackle effect paint without buying extra stuff!
» Team Natsuki (We're too Cool for YOU)

Permissions in this forum:You cannot reply to topics in this forum
TechMates :: Friendster Design and Development :: Friendster Tricks and Tutorials :: JavaScript-
Jump to: