In this post i will tell you about a new javascript gadget " How to add scrolling text in browsing title bar ", as this is a very awesome gadget and many of our visitors wanted to add it on their blog. Adding this gadget will make your blog title or blog name to scroll in the browsing title bar (where you see site name). You can add this gadget in 5 simple steps.
1). Open your blog and go to Dashboard.
2). Select Layout and Edit HTML.
ADD SCROLLING TEXT IN BROWSING TITLE BAR
1). Open your blog and go to Dashboard.
3). Check 'Expand Widget Templates'.
4). Find the following piece of code in your blog HTML code. HOW TO FIND CODE IN YOUR BLOG HTML CODE
<head>
5). Copy and Paste the followig code just BEFORE the code you have searched.
<script type='text/javascript'>
5). Save your template and experience the change.
If you got a good experience than leave comments and Contact Me for any assistance.
//<![CDATA[
msg = "The Ultimate Technology";
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 :- Change The Ultimate Technology with the message which you want to scroll in the browser title bar.
NOTE :- Change The Ultimate Technology with the message which you want to scroll in the browser title bar.
5). Save your template and experience the change.
If you got a good experience than leave comments and Contact Me for any assistance.
No comments:
Post a Comment