Skip to content

Instantly share code, notes, and snippets.

@etozzato
Created October 31, 2014 17:16
Show Gist options
  • Save etozzato/ee49e9a5cde066f5ef51 to your computer and use it in GitHub Desktop.
Save etozzato/ee49e9a5cde066f5ef51 to your computer and use it in GitHub Desktop.
Sense of Urgency(TM) for PivotalTracker
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