i used this code and its working but i edited this code and change the word instead i put the lyrics of a song instead of word when save it, its not working anymore maybe the length of lyrics is the problem pls check the code and do some changes ty
var chr = -15;
var txt ="[[*]]__________________________________________________[[*]]<br><br>Last night I had a dream about you<br>In this dream Im dancing right beside you<br><br>And it looked like everyone was having fun<br><br>the kind of feeling Ive waited so long<br><br>Dont stop come a little closer<br>As we jam the rythm gets stronger<br>Theres nothing wrong with just a little little fun<br><br>We were dancing all night long
<br>The time is right to put my arms around you<br>Youre feeling right You wrap your arms around too<br>But suddenly I feel the shining sun Before I knew it this dream was all gone<br><br>Ooh I dont know what to do
About this dream and you
Well make this dream come true<br><br>pls stay with me forever<br>tearsplsdontfall@y.c<br> <br>[[*]]__________________________________________________[[*]]<br><br>_____kufao____"
var p = "_"
function brbrbr()
{
chr++;
t = document.all["text"].innerHTML
tt = t.substring(0,t.length-p.length)
if(txt.charAt(chr)!="<") document.all["text"].innerHTML= tt + txt.charAt(chr) + p
else
{
document.all["text"].innerHTML= tt + txt.substring(chr, chr+4) + p
chr=chr+3
}
setTimeout("brbrbr()", 70)
}
Last edited by paopao29 (2008-12-15 23:16:33)