This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Here's an eye catching example to get your visitors back when your web page tab is not active within the browser (onblur). This script will animate the original title text with an intro, the original title text is restored when the tab is returned to active state (focus). When the tab is clicked the original page title is restored. For social media sharing it is highly recommended to include the original page title text with the prefaced animated text (onblur). | |
//Created by SHEmedia.us | |
$(function() { | |
var origTitle, animatedTitle, timer; | |
function animateTitle(newTitle) { | |
var currentState = false; | |
origTitle = document.title; // save original title |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Here's an eye catching example to get your visitors back when your web page tab is not active within the browser (onblur). This script will animate the original title text with an intro looping through an array of text, the original title text is restored when the tab is returned to active state (focus). When the tab is clicked the original page title is restored. For social media sharing it is highly recommended to include the original page title text with the prefaced animated text (onblur). | |
//Created by SHEmedia.us | |
$(function() { | |
var origTitle, timer; | |
function animateTitle(newTitle) { | |
var currentState = false; | |
origTitle = document.title; // save original title |