Thursday, April 28, 2011

MOVING MESSAGE (text berjalan di address)


In this post I'll tell about how to make moving message on the address bar.like this
Let's making now........

as usual log in to blogger.com
1.select dasbor>layout>edit HTML
2.Then, find the code of ]]></b:skin>
3.Copy the code below and put it under the code ]]></b:skin>

<script type='text/javascript'>
//<![CDATA[

msg = " didecorner.blogspot.com ";
msg = "find your dream ,and add your knowledge" + 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>

4.replace the red text with a message you want.
5.SAVE
hopefully useful

No comments: