Today's browsers all use the multi tag mode. If the title of a website is very long, it can't be seen completely in the tab bar of the browser. In order to be more personalized, we can use the following personalized paragraph jquery The code makes the title bar of your website scroll, making it easier for users to remember your website name; If you want to use personalized jquery code to make your title bar scroll, copy the following jquery code to your website's js file, and you can use it; Note that this is jquery code, and you need to reference the jquery library to run normally. $(function(){ var titlename= $(document).attr("title").split(""); function gdtitle(){ titlename.push(titlename[0]); titlename.shift(); document.title = titlename.join(""); } setInterval(gdtitle,1000);// Set time interval to run )};
Disclaimer:
Website: Click Copy to share with friends!
All content resources shared by this website, if not noted, are original by Blueleaf. If you need to reprint, please indicate the source; Please contact us in case of infringement Contact handling 。 Please understand!