Skip to content

Instantly share code, notes, and snippets.

@alanjcfs
Created June 6, 2013 03:59
Show Gist options
  • Save alanjcfs/5719213 to your computer and use it in GitHub Desktop.
Save alanjcfs/5719213 to your computer and use it in GitHub Desktop.
var checkTime = function(){
currTime = myPlayer.currentTime();
if (currTime >= 3 && currTime <= 4 && hsh['calendar'] === false) {
hsh['calendar'] = true;
$('.fc-highlight-this').effect("highlight", 3000);
}
if (currTime >= 13 && currTime <= 14 && hsh['always'] === false) {
hsh['always'] = true;
$('.always span').effect("highlight", {color: '#83c0ff',
easing: 'easeInExpo'}, 2000);
};
if (currTime > 16 && currTime <= 17 && hsh['sometimes'] === false) {
hsh['sometimes'] = true;
$('.sometimes span').effect("highlight", {color: '#83c0ff',
easing: 'easeInExpo'}, 2000);
};
if (currTime > 18 && currTime <= 19 && hsh['never'] === false) {
hsh['never'] = true;
$('.never span').effect("highlight", {color: '#83c0ff',
easing: 'easeInExpo'}, 2000);
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment