Pages: 1234

  2008-03-19 16:24:20

kangkong10
» FTalkManiac
FTalk Level: zero
617
0
1969-12-31

Re: [u][b]Typewritter Effect[/b][/u] [b]Preview...[/b] [url]http://www.friendster.com/sherwin019[/url] you can put this under your controlpanel buttons... :arrow: Use [b]eykalsyamim[/b] codes... [code]

[quote=irumi]can i put this code in shout out?.. and how to change the font color!..[/quote] yes, you can. try this one. [quote]var content = "<font color="[b]Your color here[/b]">[b]Your txt here[/b]</font>"; function twDisplayTW() {twDisplay('tw',content,0);} loaded('tw',twDisplayTW); var brk = '~'; // character to use for line break var resetTime = 0; // set to 0 to not reset or seconds to delay before reset // Typewriter Text Javascript // copyright 13th October, 2007 by Stephen Chapman // permission to use this Javascript on your web page is granted // provided that all of the code in this script (including these // comments) is used without any alteration // you can change the values above this notice to suit your requirements function twDisplay(id,content,num) { var delay = 140; if (num <= content.length) { var lt = content.substr(0,num); document.getElementById(id).innerHTML = lt.replace(RegExp(brk,'g'),'<br \/>'); num++; if (num > content.length) delay = resetTime * 1000; } else { document.getElementById(id).innerHTML = ''; num = 0; } if (delay > 0) setTimeout('twDisplay("'+id+'","'+content+'","'+num+'")',delay); } var pageLoaded = 0; window.onload = function() {pageLoaded = 1;}; function loaded(i,f) { if (document.getElementById && document.getElementById(i) != null) f(); else if (!pageLoaded) setTimeout('loaded(\''+i+'\','+f+')',100); }[/quote]

Last edited by kangkong10 (2008-03-19 16:26:52)

Pages: 1234

Board footer

© 2024 F Talk

Current time is 23:14

[ 12 queries - 0.014 second ]
Privacy Policy