Created
October 31, 2014 17:16
-
-
Save etozzato/ee49e9a5cde066f5ef51 to your computer and use it in GitHub Desktop.
Sense of Urgency(TM) for PivotalTracker
This file contains hidden or 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
function color(interval){ | |
$('header.tc_page_header').css('background-color', 'rgb('+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+','+parseInt(Math.random()*255)+')') | |
setTimeout(function(){ | |
color(interval); | |
},interval); | |
} | |
$('document').ready(function(){ | |
setTimeout(function(){ | |
$('h3[title="my work"]').html("<marquee>my Work</marquee>") | |
if(parseInt($('div.counter').html()) > 0) | |
color(parseInt(1/parseInt($('div.counter').html()) * 3750)); | |
},7500); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment