Browser Title Bar Manipulation JavaScript Library – title.js

Category: Javascript | August 24, 2014
Author:arkaindas
Views Total:1,156 views
Official Page:Go to website
Last Update:August 24, 2014
License:MIT

Preview:

Browser Title Bar Manipulation JavaScript Library – title.js

Description:

title.js is a standalone JS library which allows you to manipulate/enhance the browser title bar with following features:

  • Add suffix or prefix to default webpage title.
  • Change predefined webpage title.
  • Add marquee or typewriter effects to webpage tile.

Basic Usage:

Load the necessary title.js script in the document.

<script src="title.js"></script>

Add a prefix.

Title.pref('(2 unread messages)';

Add a suffix.

Title.suf('(2 unread messages)');

Replace the webpage title.

Title.change('New Title');

Animate the webpage tile with a marquee effect.

Title.animation('marquee');

Animate the webpage tile with a typewriter effect.

Title.animation('typeWriter');

You Might Be Interested In:


Leave a Reply