Saturday 20 August 2011

how to make animated blog name (browser tab)

As you can see my blog name (browser tab) was animated.
That what's im going to share.

Simple just go to Design - Edit HTML - Find (CTRL+F)  <head> tag.

Copy & Paste the code below before the <head> tag.



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

msg = "UR WELCOME MSG HERE";
msg = "***Your Short Description Here***" + 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>

Change the highlighted msg with your own desired msg.
You can customized those stars with any symbols you like.

No comments:

Related Posts Plugin for WordPress, Blogger...