karnov.club/js/fx.js
Marc Cataford 4a2ef12b96 Fix.
2015-07-05 21:15:30 -04:00

34 lines
832 B
JavaScript

/*
* On load block
* Setting up the initial view.
*/
$(window).ready(function() {
$('#main_title').fadeIn(1100);
$('#main_mugshot').delay(800).fadeIn(1100);
$('#main_menu_skillset .menu_title').delay(1900).fadeIn(800);
$('#main_menu_experience .menu_title').delay(2200).fadeIn(800);
$('#main_menu_projects .menu_title').delay(2500).fadeIn(800);
$('#main_menu_blog .menu_title').delay(2800).fadeIn(800);
$('#intro_blurb').delay(3300).fadeIn(1100);
$('#callmemaybe').delay(3300).fadeIn(1100);
});
/*
* Click event handlers
*/
$(document).on('click','#main_menu_skillset', function() {
$('#intro_blurb').toggle();
$('#skillset').toggle();
});
$(document).on('click','#main_menu_blog', function() {
$('#pagewrap').fadeOut(1000);
window.location.replace('http://mcataford.github.io/blogging');
})