Saturday, January 15, 2011

Membuat judul addres bar tambah keren

keren kaya' judul blog saya tuh...
cara nya gampang ko'
langsung aja :

-login
blog dulu
-pilih tata letak letak
-pilih edit html
-beri tanda centang pada Expand Template Widget
-copy script di bawah :

<script type="text/javascript">
//<![CDATA[

var message = new Array() // leave this as is

message[0] = "
selamat datang !! !";
message[1] = "
Blog Rudy_Ricky_Pratama";
message[2] = "
Jng lupa koment";
message[3] = "
Jng lupa Follow !!";
message[4] = "
Jng copy+paste...";
message[5] = "
Lain kali Berkunjung lagi !!";
message[6] = "Terima kasih !!";

var reps = 2

var speed = 100

var p=message.length;
var T="";
var C=0;
var mC=0;
var s=0;
var sT=null;
if(reps<1)reps=1;
function doTheThing(){
T=message[mC];
A();}
function A(){
s++
if(s>9){s=1}

if(s==1){document.title='[
R====] '+T+' [====R]'}
if(s==2){document.title='[=
U===] '+T+' [===U=]'}
if(s==3){document.title='[==
D==] '+T+' [==D==]'}
if(s==4){document.title='[===Y=] '+T+' [=Y===]'}
if(s==5){document.title='[====>] '+T+' [<====]'}
if(s==6){document.title='[===Y=] '+T+' [=Y===]'}
if(s==7){document.title='[==D==] '+T+' [==D==]'}
if(s==8){document.title='[=
U===] '+T+' [===U=]'}
if(s==9){document.title='[
D====] '+T+' [====R]'}
if(C<(8*reps)){
sT=setTimeout("A()",speed);
C++
}else{
C=0;
s=0;
mC++
if(mC>p-1)mC=0;
sT=null;
doTheThing();}}
doTheThing();
//]]>

</script>

-letak kodenya diatas <head>
-lihat hasilnya .....

No comments:

Post a Comment