Monday, August 1, 2011

Scrolling Title in Browser title bar for blogspot

Steps to follow:

STEP #1
Log in to Blogger.com -> Layout -> Edit HTML and select the tick-box Expand Widget Templates
Then, find (CTRL+F) this code in the template

<head>

And immediately SEBELUM it, paste this code:

<script type='text/javascript'>
//<![CDATA[
msg = "
Blog aku smart tk,,, masok la ramai2.";
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>
SAVE PASTUH.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...