Friendster Delight



If you want to access fully in FD. Please do log in or register. Thank You. Welcome. FD

Friendster Delight


 
Home:: Portal ::FAQMemberlistSearchUsergroupsRegisterLog in

Share | 
 

 effect in title bar

View previous topic View next topic Go down 
AuthorMessage
spongebob0291
FD Amateur
FD Amateur
avatar

Posts : 693

Age : 24


View user profile
PostSubject: effect in title bar   Sun Apr 05, 2009 4:03 pm

here preview: http://profiles.friendster.com/user.php?uid=spongebob0291

here's the code:
Code:
function tb5_makeArray(n){
  this.length = n;
  return this.length;
}

tb5_messages = new tb5_makeArray(7);
tb5_messages[0] = "CHANGE HERE.. CHANGE HERE..";
tb5_messages[1] = "CHANGE HERE.. CHANGE HERE..";
tb5_messages[2] = "CHANGE HERE.. CHANGE HERE..";
tb5_messages[3] = "CHANGE HERE.. CHANGE HERE..";
tb5_messages[4] = "CHANGE HERE.. CHANGE HERE..";
tb5_messages[5] = "CHANGE HERE.. CHANGE HERE..";
tb5_messages[6] = "CHANGE HERE.. CHANGE HERE..";
tb5_rptType = 'infinite';
tb5_rptNbr = 5;
tb5_speed = 2;
tb5_delay = 2000;
var tb5_counter=1;
var tb5_currMsg=0;
var tb5_stsmsg="";
function tb5_shuffle(arr){
var k;
for (i=0; i<arr.length; i++){
  k = Math.round(Math.random() * (arr.length - i - 1)) + i;
  temp = arr[i];arr[i]=arr[k];arr[k]=temp;
}
return arr;
}
tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){
  tb5_arr[i] = i;
  tb5_sts[i] = "_";
}
tb5_arr = tb5_shuffle(tb5_arr);
function tb5_init(n){
var k;
if (n == tb5_arr.length){
  if (tb5_currMsg == tb5_messages.length-1){
      if ((tb5_rptType == 'finite') && (tb5_counter==tb5_rptNbr)){
        clearTimeout(tb5_timerID);
        return;
      }
      tb5_counter++;
      tb5_currMsg=0;
  }
  else{
      tb5_currMsg++;
  }
  n=0;
  tb5_arr = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
  tb5_sts = new tb5_makeArray(tb5_messages[tb5_currMsg].length);
  for (var i=0; i<tb5_messages[tb5_currMsg].length; i++){
      tb5_arr[i] = i;
      tb5_sts[i] = "_";
  }
  tb5_arr = tb5_shuffle(tb5_arr);
  tb5_sp=tb5_delay;
}
else{
  tb5_sp=tb5_speed;
  k = tb5_arr[n];
  tb5_sts[k] = tb5_messages[tb5_currMsg].charAt(k);
  tb5_stsmsg = "";
  for (var i=0; i<tb5_sts.length; i++)
      tb5_stsmsg += tb5_sts[i];
      document.title = tb5_stsmsg;
      n++;
  }
  tb5_timerID = setTimeout("tb5_init("+n+")", tb5_sp);
}
function tb5_randomizetitle(){
  tb5_init(0);
}
tb5_randomizetitle();

this a js file..
you still need to compile

and put it in a app
don't have a app?
here: http://widgets.friendster.com/ohemgi?src=myapps&instance_id=1

credits:
me..
hcg
fileave
Back to top Go down
provanz
Full Moderator
Full Moderator
avatar

Posts : 2671

Age : 27


View user profile http://fddelete.forumotion.net
PostSubject: Re: effect in title bar   Sun Apr 05, 2009 4:10 pm

lets try ^^
thnx 4 sharing ^^
Back to top Go down
spongebob0291
FD Amateur
FD Amateur
avatar

Posts : 693

Age : 24


View user profile
PostSubject: Re: effect in title bar   Sun Apr 05, 2009 4:19 pm

sure,, I'm using it now. and it really worked. your welcome
Back to top Go down
provanz
Full Moderator
Full Moderator
avatar

Posts : 2671

Age : 27


View user profile http://fddelete.forumotion.net
PostSubject: Re: effect in title bar   Sun Apr 05, 2009 4:25 pm

yeah its work ^^ friendster


Last edited by MRnytmare on Thu Apr 09, 2009 12:01 pm; edited 1 time in total
Back to top Go down
spongebob0291
FD Amateur
FD Amateur
avatar

Posts : 693

Age : 24


View user profile
PostSubject: Re: effect in title bar   Sun Apr 05, 2009 4:51 pm

you see.. hihihi..
Back to top Go down
lheendc
Co-Admin
Co-Admin
avatar

Posts : 973

Age : 22


View user profile http://www.plurk.com/lheendc/invite
PostSubject: Re: effect in title bar   Wed Apr 08, 2009 8:22 pm

Yeah. It`s really working, sweetie. Smile
Back to top Go down
GHEN
Graphic Master
Graphic Master
avatar

Posts : 1150

Age : 24


View user profile http://www.ghenstar.webs.com
PostSubject: Re: effect in title bar   Sun Apr 12, 2009 10:16 am

thanks fer te share Smile

_________________
MOi LiNKSSSS * click ! Very Happy
Spoiler:
 

Back to top Go down
jhennyz
Full Moderator
Full Moderator
avatar

Posts : 373

Age : 22


View user profile http://www.jhennyz.multiply.com
PostSubject: Re: effect in title bar   Mon Apr 13, 2009 10:03 pm

thanks for sharing this...

_________________
Spoiler:
 
Back to top Go down
sEz™
Third Timer
Third Timer
avatar

Posts : 57

Age : 23


View user profile http://profiles.friendster.com/figmentofyourimagination
PostSubject: Re: effect in title bar   Wed Jun 17, 2009 10:43 pm

EiNKSZ FOR SHARiNG ... Smile Smile Smile
Back to top Go down
keith =)
Second Timer
Second Timer
avatar

Posts : 24


View user profile http://www.friendster.com/kaith0620
PostSubject: Re: effect in title bar   Mon Aug 17, 2009 6:54 pm

tnx for sharin

______________________________

http://www.friendster.com/kaith0620
Back to top Go down
Sponsored content




PostSubject: Re: effect in title bar   

Back to top Go down
 

effect in title bar

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Friendster Delight :: FD Tips & Tricks :: Java Script Codes-