provanz Full Moderator
Posts : 2671
Age : 33
| Subject: TITTLE BAR EFFECTS MESSAGE SCROLLER Thu May 14, 2009 6:47 pm | |
| Compile this to JS file Live:Preview - Code:
-
function tb8_makeArray(n){ this.length = n; return this.length; }
tb8_messages = new tb8_makeArray(3); tb8_messages[0] = "YOUR TXT MESSAGE HERE"; tb8_messages[1] = "YOUR TXT MESSAGE HERE"; tb8_messages[2] = "YOUR TXT MESSAGE HERE"; tb8_rptType = 'infinite'; tb8_rptNbr = 5; tb8_speed = 1; tb8_delay = 2000; var tb8_counter=1; var tb8_currMsg=0; var tb8_tekst =""; var tb8_i=0; var tb8_TID = null; function tb8_pisi(){ tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1); document.title = tb8_tekst; tb8_sp=tb8_speed; tb8_i++; if (tb8_i==tb8_messages[tb8_currMsg].length){ tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay; } if (tb8_currMsg == tb8_messages.length){ if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){ clearTimeout(tb8_TID); return; } tb8_counter++; tb8_currMsg = 0; } tb8_TID = setTimeout("tb8_pisi()", tb8_sp); } tb8_pisi() credits:HCGjust edit YOUR TXT MESSAGE HERE to change message at tittle bar |
|
--hayca-- Full Moderator
Posts : 2125
Age : 30
| Subject: Re: TITTLE BAR EFFECTS MESSAGE SCROLLER Fri May 22, 2009 6:56 pm | |
| nice prov's |
|
lheendc Co-Admin
Posts : 973
Age : 28
| Subject: Re: TITTLE BAR EFFECTS MESSAGE SCROLLER Sun May 24, 2009 1:44 am | |
| This one is much better than the other one. Thanks for sharing! |
|
jhennyz Full Moderator
Posts : 373
Age : 27
| Subject: Re: TITTLE BAR EFFECTS MESSAGE SCROLLER Sun May 31, 2009 10:50 pm | |
| thanks for sharing this..
i haven't try this one..
im using a single word...
hahaha..
nice...^^ |
|
joshjammark Promoter
Posts : 120
| Subject: Re: TITTLE BAR EFFECTS MESSAGE SCROLLER Thu Jun 11, 2009 8:15 pm | |
| |
|
sEz™ Third Timer
Posts : 57
Age : 28
| Subject: Re: TITTLE BAR EFFECTS MESSAGE SCROLLER Wed Jun 17, 2009 10:38 pm | |
| |
|
keith =) Second Timer
Posts : 24
| Subject: Re: TITTLE BAR EFFECTS MESSAGE SCROLLER Tue Aug 18, 2009 6:20 pm | |
| tnx for the code |
|
Sponsored content
| Subject: Re: TITTLE BAR EFFECTS MESSAGE SCROLLER | |
| |
|