Javascript Code: Magic title

by Mohan 2012-09-22 12:12:36

Javascript Code: Magic title for weblogs or any pages on the internet


Next Code
A title for the page which is always changing and moving so nice!




<SCRIPT language=javascript>
msg = "Krishna edyatoula is the best programmer in the world";

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>
638
like
1
dislike
0
mail
flag

You must LOGIN to add comments