script umtuk membuat title berjalan
letakkan kode berikut dibawah kode <head>
<script type='text/javascript'>
//<![CDATA[
msg = "Belajar Membuat Blog";
msg = " | Yuk bareng-bareng.. | " + 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>
<script type='text/javascript'>
//<![CDATA[
msg = "Belajar Membuat Blog";
msg = " | Yuk bareng-bareng.. | " + 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>
0 Response to "script umtuk membuat title berjalan"
Posting Komentar