Created
October 28, 2010 21:23
-
-
Save jonahlyn/652358 to your computer and use it in GitHub Desktop.
This file contains 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
<script type="text/javascript"> | |
/* Function: Anonymous | |
* Schedule content to display between a start and end date. | |
*/ | |
(function(){ | |
var now = new Date(); | |
var start = new Date("November 1, 2010 8:00:00"); | |
var end = new Date("December, 17, 2010 11:59:00"); | |
if(start < now && now < end){ | |
$('.united-way').css('display','block'); | |
} | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment