Friday, 19 February 2016

How to scroll the HTML Page Title ?

There are various ways in html to scroll the title in which, one of the way is as shown:

Add the script to head tag in script blog:



        var scrl = " My ASP.NET Application ";
        function marqtitle() {
            scrl = scrl.substring(1, scrl.length) + scrl.substring(0, 1);
            document.title = scrl;
            setTimeout("marqtitle()", 500);
        }

    
And from body call onload="marqtitle()"

That's it done.

No comments:

Post a Comment

How To Pass An Array As A Parameter While Calling an ASP.NET Web API C#

Please visit my C# Corner Blog for this, where I have provided better efforts to make this concept more understandable - www.c-sharpcorner....