Thursday, 25 September 2014

Ayat Bergerak di Menu Bar

안녕하세요 친구(◠‿◠)....
  1. Sign in blogger
  2. Dashboard > Design > Add A Gadget > Html / Javascript
  3. Copy dan paste kod berikut dalam ruangan HTML/Javascript tadi

<script language=javascript>
msg = "ayat anda di sini";

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>
Nota: Tukarkan 'ayat anda di sini' dengan kata yang anda suka.
4. Save dan lihat hasilnya. 


sr LINKS

No comments:

Post a Comment