Cara membuat title/judul blog berjalan

Cara memuat title/judul blog berjalan.
Oke langsung aja tanpa panjang lebar hehhe , anda isa liat demo y di title blog say aini :D
Caranya:
cukup pasang kode javascript erikut diatas baris </head> , cara cari </head> nya tinggal tinggal pencet ja ctrl+f
nanti kolom y bakal muncul di kiri atas/kanan ats kom anda , lalu ketik </head> nya, ini kode nya :

&lt;script type=&quot;text/javascript&quot;&gt;
function tb8_makeArray(n){
this.length = n;
return this.length;
}
tb8_messages = new tb8_makeArray(4);
tb8_messages[0] = &quot;Halo Sobat&quot;;
tb8_messages[1] = &quot;Salam Blogger&quot;;
tb8_messages[2] = &quot;Selamat datang ya&quot;;
tb8_messages[3] = &quot;Semoga Anda senang berkunjung diblog ini&quot;;
tb8_rptType = &#39;infinite&#39;;
tb8_rptNbr = 5;
tb8_speed = 100;
tb8_delay = 2000;
var tb8_counter=1;
var tb8_currMsg=0;
var tb8_tekst =&quot;&quot;;
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=&quot;&quot;;tb8_sp=tb8_delay;
}
if (tb8_currMsg == tb8_messages.length){
if ((tb8_rptType == &#39;finite&#39;) &amp;&amp; (tb8_counter==tb8_rptNbr)){
clearTimeout(tb8_TID);
return;
}
tb8_counter++;
tb8_currMsg = 0;
}
tb8_TID = setTimeout(&quot;tb8_pisi()&quot;, tb8_sp);
}
tb8_pisi()
&lt;/script&gt;

klo kode javascript yg di atas gagal , coba aja pake yg ini :
<script type="text/javascript">
function tb8_makeArray(n){
this.length = n;
return this.length;
}
tb8_messages = new tb8_makeArray(4);
tb8_messages[0] = "Halo Sobat";
tb8_messages[1] = "Salam Blogger";
tb8_messages[2] = "Selamat datang ya";
tb8_messages[3] = "Semoga Anda senang berkunjung diblog ini";
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>



makasih buat sumber nya dari http://aku-punya.com , thank :D

Subscribe to receive free email updates:

0 Response to " "

Posting Komentar

Silakan isi Komentar sobat
dan gunakan kata-kata yang sopan.
Jangan nyepam ya n_n

wa
Cara Memasang Cursor Pada Dokumen HTML