Page Title Scroller
September 25th, 2008

If you have a page title that is being clipped by the browser’s page tab, this javascript allows you to scroll your title in the browser’s title bar and page tab so it can be seen in its entirety. It also provides the ability to display an alternate message separate from your page title that will appear in the title bar areas. This script only scrolls the title or alternate message when displayed, so it does not effect what a search engine will see.

Note: This script will not work on pages displayed in frames.

Page title scroller demo

Place the following code in a custom header:


There are two variables that you can modify:

sMsg

Normally, the value of this script variable is taken from the page’s title and will not need to be changed (the default action). If you wish to use an alternate message in place of your title, you can use whatever message you want. Follow the instructions in the script to make the change.

delay This controls the delay time before shifting one character. Time is expressed in milliseconds; the default is 250, or 1/4-second.


Leave a Reply

Spam protection by WP Captcha-Free


May 24th, 2012