Langkah-langkah membuat title blog bergerak :
1. Sign
blog anda
2. Klik layout.
3. Klik Add a Gadget.
4. Klik HTML / Javascript.
5. Copy
kod dibawah ini, paste pada kotak HTML / Javascript.
<script language=javascript>
msg = "Title Blog Anda";
msg = "..." + 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>
msg = "Title Blog Anda";
msg = "..." + 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>
6. Save,
Nota : Gantikan teks warna merah dengan apa sahaja yang anda ingin tampilkan..
0 comments:
Post a Comment