Rabu, 31 Oktober 2012

Cara Membuat Text Tab Berjalan




 



Hello guys, pasti masih banyak nih blogger pemula yang ingin mempercantik blognya, Nah, sekarang saya akan posting tentang cara membuat tulisan tab pada blog berjalan seperti blog saya ini. Check langsung ya^^
  1. Masuk ke account blogger anda lalu pilih tata letak
  2. Sampai di tata letak pilih tambah gadget lalu pilih  HTML/JavaScript
  3. Dalam kolom konten masukkan script berikut
<script>function tb8_makeArray(n){this.length = n;return this.length;}tb8_messages = new tb8_makeArray(7);
tb8_messages[0] = "Hi Friend";
tb8_messages[1] = "Welcome To Theyvinfinity";
tb8_messages[2] = "ichigomachi.blogspot.com";
tb8_messages[3] = "Give Your Comment";
tb8_messages[4] = "And Follow My Site";
tb8_messages[5] = "Thank You ^^";
tb8_messages[6] = "....."

tb8_rptType = 'infinite';
tb8_rptNbr = 5;
tb8_speed = 70;
tb8_delay = 1000;
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>

Nb : yang fill merah ganti dengan tulisan yang anda inginkan
SELAMAT MENCOBA ^^
Best regards,

Tidak ada komentar:

Posting Komentar