Berikut cara membuat text bergerak di tab browser:
1. Login dulu ke akun Blogger.
2. Pilih Rancangan kemudian anda Edit HTML.
3. Cari kode <head> lalu tempatkan kode berikut dibawahnya kode <head>:
<script type='text/javascript'>
//<![CDATA[
msg = "Isi Text 2";
msg = "Isi Text 1" + msg;pos = 0;
function scrollMSG() {
document.title = msg.substring(pos, msg.length) + msg.substring(0, pos); pos++;
if (pos > msg.length) pos = 0
window.setTimeout("scrollMSG()",200);
}
scrollMSG();
//]]>
</script>
Penting : Ganti tulisan Isi Text 1 dan Isi Text 2 sesuai keinginan anda.
4. Klik save template.
0 komentar:
Posting Komentar