August 12, 2011


hi guys` today im gonna show you How To Add Scrolling Title in Browser Title Bar For Blogger, this Java Script is to create a scrolling message in the browser's status line. you can create a scrolling message using the string methods you have learned in this hour.this is cool java script. if you like add this java script your blogger please follow below Simple step and add this java script your blog..thank you.









1.Log in to your dashboard--> Desing- -> Edit HTML

2.Click on "Expand Widget Templates"

3.Scroll down to where you see </head> tag.

4.Now add below code before </head> tag.

<script type='text/javascript'>
//<![CDATA[
msg = "Blogger Tricks and Tools | Latest Blogger Tips and Tricks";
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>

Note: Replace Blogger Tricks and Tools | Latest Blogger Tips and Tricks with your scrolling text.

5.Now click on "Save Template" your are done..

Cheers

No comments:

Post a Comment