animate title tab effect - Download Animate The Page Title In The Browser Tab - titleEffect

Download Animate The Page Title In The Browser Tab – titleEffect

Posted on

This time I will share jQuery Plugin and tutorial about Animate The Page Title In The Browser Tab – titleEffect, hope it will help you in programming stack.

animate title tab effect - Download Animate The Page Title In The Browser Tab - titleEffect
File Size: 5.37 KB
Views Total: 2193
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

titleEffect is a jQuery plugin to create impressive document titles that make it simple to animate the title text in the browser tab.

Animation types:

  • Replace (default): switches between an array of title text.
  • Blink: switches between an array of title text with fade in/out animations.
  • Scroll: Scrolls through an array of title text so that the users are able to read the entire tab title.

How to use it:

1. Include the minified version of the jQuery titleEffect plugin after jQuery slim build.

2         integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n"
3         crossorigin="anonymous"></script>
4 <script src="dist/titleEffect.jquery.min.js"></script>

2. Initialize the plugin and define an array of document titles.

1 $(function(){
2   $.titleEffect({
3     titles: [
4       'jQuery',
5       'Script',
6       'Net'
7     ]
8   });
9 });

3. Specify the delay in milliseconds. Default: 1000ms.

01 $(function(){
02   $.titleEffect({
03     delay: 2000,
04     titles: [
05       'jQuery',
06       'Script',
07       'Net'
08     ]
09   });
10 });

4. Fade through the document titles by using the ‘blink’ mode.

01 $(function(){
02   $.titleEffect({
03     effect: 'blink',
04     titles: [
05       'jQuery',
06       'Script',
07       'Net'
08     ]
09   });
10 });

5. Scroll through the document titles by using the ‘scroll’ mode.

01 $(function(){
02   $.titleEffect({
03     effect: 'scroll',
04     separator: ',',
05     titles: [
06       'jQuery',
07       'Script',
08       'Net'
09     ]
10   });
11 });

This awesome jQuery plugin is developed by mahmudz. For more Advanced Usages, please check the demo page or visit the official website.

source : jquery.net