1. Dari dashboard > Design > Add a gadget > Html/Javascript
2. Copy dan paste code berikut dalam ruangan 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>
Tukarkan 'Title Blog Anda' dengan apa sahaja yang anda mahu.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>
3. Save
Tiada ulasan:
Catat Ulasan