TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!
TechMates
member?
If not be one of us!Join us guys!
Login if your a member!
Enjoy!
TechMates
Would you like to react to this message? Create an account in a few clicks or log in to continue.

TechMates

Life is Useless without TechMates
 
HomePortalSearchLatest imagesRegisterLog in

 

 Putting Effects on Status Bar

Go down 
AuthorMessage
RyceLL
Moderator
RyceLL


Posts : 18
Points : 35
Reputation : 1
Join date : 2009-07-27
Age : 33

Putting Effects on Status Bar Empty
PostSubject: Putting Effects on Status Bar   Putting Effects on Status Bar EmptyTue Jul 28, 2009 11:49 pm

This is also a Old Script For Friendster....

heres the code

Code:
function tb7_makeArray(n){
    this.length = n;
    return this.length;
}

tb7_messages = new tb7_makeArray(6);
tb7_messages[0] = "Message Here";
tb7_messages[1] = "Message Here";
tb7_messages[2] = " Message Here";
tb7_messages[3] = "Message Here";
tb7_messages[4] = "Message Here";
tb7_messages[5] = "Message Here";
tb7_rptType = 'infinite';
tb7_rptNbr = 5;
tb7_speed = 300;
tb7_timeOneMsg = 3000;
tb7_minBrojRazmaka = 0;
tb7_maxBrojRazmaka = 3;
var tb7_counter=1;
var tb7_currMsg;
var tb7_stsmsg="";
var tb7_brojac = 0;
var tb7_expand = true;
var tb7_run=false
var tb7_tmpmsg="";
var tb7_spaces="";
var tb7_timer=null;
for (var i=0; i<tb7_minBrojRazmaka; i++)
    tb7_spaces += "_";
for (var i=0; i<tb7_messages.length; i++){
    tb7_tmpmsg="";
    for (var j=0; j<tb7_messages[i].length; j++){
        tb7_tmpmsg=tb7_tmpmsg+tb7_spaces+tb7_messages[i].charAt(j);
    }
    tb7_messages[i]=tb7_tmpmsg;
}
function tb7_settitle(){
if (!tb7_run){
    clearTimeout(tb7_timer2);
    return;
}
var tb7_sts = "";
if (tb7_brojac == 0)
    document.title = tb7_messages[tb7_currMsg]
else{
    for (var i=0; i<tb7_messages[tb7_currMsg].length; i++){
        for (var j=0; j<tb7_brojac; j++)
            tb7_sts += "_";
        tb7_sts += tb7_messages[tb7_currMsg].charAt(i);
    }
    document.title = tb7_sts;
}
if (tb7_expand && (tb7_brojac >= tb7_maxBrojRazmaka))
    tb7_expand=false;
if (!tb7_expand && tb7_brojac < tb7_minBrojRazmaka)
    tb7_expand = true;
if (tb7_expand)
    tb7_brojac++
else tb7_brojac--;
tb7_timer2 = setTimeout("tb7_settitle()", tb7_speed);
}
function tb7_coordinator(){
if (!tb7_run){
    tb7_currMsg=0;
    tb7_run = true;
    tb7_settitle();
}
else{
    if (tb7_currMsg == tb7_messages.length-1){
        if ((tb7_rptType == 'finite') && (tb7_counter==tb7_rptNbr)){
            clearTimeout(tb7_timer);
            tb7_run = false;
            return;
        }
        tb7_counter++;
        tb7_currMsg=0;
    }
    else{
        tb7_currMsg++;
    }
}
tb7_timer = setTimeout("tb7_coordinator()",tb7_timeOneMsg);
}
tb7_coordinator();

Just save it as .js then use the direct link for the application...

Quote :
Why Rip If u can ask for it
Back to top Go down
http://www.rycell.manilahost.net
 
Putting Effects on Status Bar
Back to top 
Page 1 of 1
 Similar topics
-
» Putting Background on Your Profile
» Floating objects II (up down effects)
» YM status below Control Panel

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