:: Hot Society ::
title bar effects(scrolling,typing blinking) 259weuo

Hey Guest ! Welcome to Hot Society ! Login or Register if your not yet a member :)


Join the forum, it's quick and easy

:: Hot Society ::
title bar effects(scrolling,typing blinking) 259weuo

Hey Guest ! Welcome to Hot Society ! Login or Register if your not yet a member :)
:: Hot Society ::
Would you like to react to this message? Create an account in a few clicks or log in to continue.

title bar effects(scrolling,typing blinking)

2 posters

Go down

title bar effects(scrolling,typing blinking) Empty title bar effects(scrolling,typing blinking)

Post by xhamhy Mon Jun 01, 2009 12:47 am

Credits ~> Netscape for the javascript,Wikipedia tutorial,Empheral<~ For the "Title bar eraser"..NOTE You can change anything View your page source use your common sense.PS:Learn all about scripting here ~> Wikipedia.com

*SCROLLING TEXT ON YOUR TITLE BAR*

code:

Code:
//Scrolling Title Bar

putmsg=")-[TYPE YOUR SHORT MESSAGE HERE]-(";
letchar2="·.¸¸.·´´*`··._.··";
letchar1="·.¸¸.·´´*`··._.··";ultimo1=letchar1.length-1;
ultimo2=letchar2.length-1;
ultimo2=letchar2.length-1;
tiempo=setTimeout("tit_scroll()",.1);
function tit_scroll()
{
aux1=letchar1.charAt(ultimo1-1);
letchar1=aux1+letchar1.substring(0,ultimo1-1);
aux2=letchar2.charAt(0);
letchar2=letchar2.substring(1,ultimo2+1)+aux2;
document.title="(" + letchar2 + putmsg + letchar1 + ")";
tiempo=setTimeout("tit_scroll()",.1);
return true;
}


NOTICE AND CHANGE THIS IF YOU WANT

TYPE YOUR SHORT MESSAGE HERE

·.¸¸.·´´*`··._.··


FOR THE TYPEWRITER EFFECT ON YOUR TITLE BAR

preview: www.friendster.com/ivarExist

Paste this on your js external file.

code:

function tb10_makeArray(n){
this.length = n;
return this.length;
}

tb10_messages = new tb10_makeArray(1);
tb10_messages[0] = "MESSAGE HERE";
tb10_rptType = 'infinite';
tb10_rptNbr = 5;
tb10_speed = 100;
tb10_delay = 2000;
var tb10_wiper
var tb10_space=" "
var tb10_currMsg=0;
var tb10_counter=1;
var tb10_index=0
tb10_main()
function tb10_main()
{
document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);}
else{setTimeout('tb10_main()',tb10_speed)}
}
function tb10_reset_clear()
{
tb10_index=0
tb10_wiper=""
for(var a=0;atb10_clearem()
}
function tb10_clearem()
{
document.title=tb10_wiper.substring(0,tb10_index) + " " + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length)
tb10_index++
if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){
if (tb10_currMsg == tb10_messages.length-1){
if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){
document.title="";
return;
}
tb10_counter++;
tb10_currMsg = 0;
}
else tb10_currMsg++;
tb10_index=0
tb10_main()
}
else{setTimeout('tb10_clearem()',250)}
}


EDIT THIS

MESSAGE HERE


FOR THE CHANGING TITLE BAR EFFECT

Code:
Code:
//title
function titlebar(val)
{
var msg = "SHORT MESSAGE HERE";
var speed = 500;
var pos = val;

var msg1 = "** "+msg+" **";
var msg2 = "*~*~*"+msg+"*~*~*";

if(pos == 0){
masg = msg1;
pos = 1;
}
else if(pos == 1){
masg = msg2;
pos = 0;
}

document.title = masg;
timer = window.setTimeout("titlebar("+pos+")",speed);
}

titlebar(0)



CHANGE THIS

var msg = "SHORT MESSAGE HERE";

var msg1 = "*~*~*"+msg+"*~*~*";
var msg2 = "*~*~*"+msg+"*~*~*";


credits from:HCG by:jiro

xhamhy
Guest

Posts : 6
Reputation : 0
Join date : 2009-05-31
Place : at the graveyard

Back to top Go down

title bar effects(scrolling,typing blinking) Empty Re: title bar effects(scrolling,typing blinking)

Post by maurizhia Mon Jun 01, 2009 5:48 am

Nice ! thanks for sharing
maurizhia
maurizhia
Guest

Posts : 21
Reputation : 0
Join date : 2009-06-01
Place : Taguig

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum