Skip to content

Instantly share code, notes, and snippets.

@KyFaSt
Created November 10, 2013 02:03
Show Gist options
  • Save KyFaSt/7392671 to your computer and use it in GitHub Desktop.
Save KyFaSt/7392671 to your computer and use it in GitHub Desktop.
calendar script
<script>
$(document).ready(function() {
// page is now ready, initialize the calendar...
var calendar = $('#calendar').fullCalendar({
// put your options and callbacks here
})
$('#calendar').hide();
$('#applications').show();
$('#showApp').click(function(){
$('#cal').removeClass('active');
$('#app').addClass('active');
$('#calendar').hide();
$('#applications').show();
return false;
});
$('#showCal').click(function(){
{
$('#cal').addClass('active');
$('#app').removeClass('active');
$('#calendar').show();
$('#applications').hide();
return false;
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment