• put your amazing slogan here!

    How to Add Scrolling Text to Browser Title Bar Next to Favicon For Blog/Site



    Well this is a Simple trick.Well You May have Seen Many Blogs and Websites With a Scrolling Text on Browser Tabs..Well We Use Javascript to perform this Task.One of the most common uses of JavaScript 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.So Let's See How it Works :.


    How to Add this Scrolling Text to Browser Title Bar For Blogger:.

    Login To Blogger < Template < Edit Html
    Now Click Proceed < Check Expand Widget Templates.

    Now Search for <head> Tag and Paste the Below Code Directly Above <head> Tag.




    <script type='text/javascript'>
    //<![CDATA[
    msg = "==>Goodin Blogging<==";
    msg = "
    Scrolling Message Goes 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>



    So Now Replace The Above Highlighted Text According to Your Blog.That's it Now you're Done.Save the Template.



    0 comments:

    Post a Comment

     

    Blogger news

     

    About

    Blogroll