blinkTitle.js

Getting It Into Your Html

<script type="text/javascript" src="https://raw.githubusercontent.com/argunner/blinkTitle.js/master/index.js"></script>

Regular Alert

blinkTitle("Head's Up","Notification",1000);

This Basic Example of blinkTitle . The function will change toggle the title between "Head's Up" and "Notification" . Transition Time between these two messages will be 1000 millisecons

Try It Stop

Alert when tab out of focus

blinkTitle("Head's Up","Notification",1000,true);

This Basic Example of blinkTitle . The function will change toggle the title between "Head's Up" and "Notification" . Transition Time between these two messages will be 1000 millisecons.The Alert/Notification will be shown when Users attention in out of focus from the page.By the implementation of onfocus and onblur

Try It Stop

Stop It!

blinkTitleStop();

You Can Stop The blinkTitle() anytime By Using blinkTitleStop()

To-Do's (Not Yet Implemented)

1.) Timeout Implementation

2.) Simplifying Arguments To JSON format

3.) Minifying the source