Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(function () {
- var message = "Wracaj do nas! Tęsknimy:(";
- var original;
- $(window).focus(function() {
- if(original) {
- document.title = original;
- }
- }).blur(function() {
- var title = $('title').text();
- if(title != message) {
- original = title;
- }
- document.title = message;
- //moveTitle();
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement