vaina23 Guest
Posts : 2
| Subject: Help me about Tue May 05, 2009 12:34 pm | |
| how to type writter effect in shoutout? |
|
provanz Full Moderator
Posts : 2671
Age : 33
| Subject: Re: Help me about Tue May 05, 2009 1:12 pm | |
| here the code you need compile this to JS file !!
- Quote :
- //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
cache[p]=cSpan3[p].innerHTML cSpan3[p].innerHTML='' }
toSpan3() }
function toSpan3(){ if(x1 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() } }
edit the bold change you JS file link - Quote :
- <script src="URL OF YOUR JS"></script>
__________________________________________________________________ |
|
--hayca-- Full Moderator
Posts : 2125
Age : 30
| Subject: Re: Help me about Fri May 08, 2009 2:56 pm | |
| nice one provs |
|
jhennyz Full Moderator
Posts : 373
Age : 27
| Subject: Re: Help me about Sat May 09, 2009 7:05 pm | |
| - Spoiler:
- provanz wrote:
- here the code you need compile this to JS file !!
- Quote :
- //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
cache[p]=cSpan3[p].innerHTML cSpan3[p].innerHTML='' }
toSpan3() }
function toSpan3(){ if(x1 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() } }
edit the bold change you JS file link
- Quote :
__________________________________________________________________ kua.. about this.. wer shud i put this after compiling it as a js file?.. is it on the media box or about me section?.. ******* anyway.. thanks for sharing this..^^ hope it'll work even thou filter still bagging friendster,, ^^ |
|
provanz Full Moderator
Posts : 2671
Age : 33
| Subject: Re: Help me about Sat May 09, 2009 7:18 pm | |
| Paste in your TWIX or APP |
|
dhee0711 Promoter
Posts : 873
Age : 29
| Subject: Re: Help me about Sat May 09, 2009 10:43 pm | |
| thanks for sharing. |
|
spongebob0291 FD Amateur
Posts : 693
Age : 29
| Subject: Re: Help me about Sun May 10, 2009 3:03 pm | |
| is your problem solved sweetie? |
|
provanz Full Moderator
Posts : 2671
Age : 33
| Subject: Re: Help me about Tue May 12, 2009 10:44 am | |
| the topic iS solve!!!! its lock now xD
|
|
Sponsored content
| Subject: Re: Help me about | |
| |
|