Selasa, 11 September 2012

Cara membuat tulisan berubah di tab browser


Bagi yang masih newbie dalam membuat blog dan ingin memghias blog anda pasti penasaran apalagi penasaran melihat blog lain berubah tulisan pada tab browsernya, bagi yang ingin tau gampang kog tinggal ikutin aja langkah2nya:



1. Login ke blogger mu.
2. Lalu klik tata letak, tambah gadget, pilih HTML/Javascript.
3. Lalu masukan kode seperti ini:

<script>
function tb8_makeArray(n){
this.length = n;
return this.length;
}


tb8_messages = new tb8_makeArray(3);
tb8_messages[0] = "Welcome to my BLOG";
tb8_messages[1] = "Please comment & follow";
tb8_messages[2] = "And polling my blog";
tb8_rptType = 'infinite';
tb8_rptNbr = 5;
tb8_speed = 100;
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()
</script>
4. Lalu simpan.
5. Jadi deh, tulisan yang berwarna merah ganti sesuka kamu.


Terima kasih

0 komentar:

Posting Komentar

Total Tayangan Halaman

Categories

Labels

Welcome to my Facebook

Blogger templates

About

My Home

That have a BlogSite

Pages

Welcome To my Blog


Animated

Diberdayakan oleh Blogger.

Recomended

Follow by Email

Translate

Member me

About Me

Foto Saya
Rikudou-Ngurah
Jika anda melihat Blog saya atau mengCOPAS isi Blog saya, saya harap anda harus LIKE apa yang mau anda COPAS,,.. OK
Lihat profil lengkapku

Background berubah

Change the LBP Background to what you like
Mau Klik disini

Free SMS