Created
June 6, 2013 03:59
-
-
Save alanjcfs/5719213 to your computer and use it in GitHub Desktop.
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
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