Support.
This commit is contained in:
parent
d2ecb70f5e
commit
bdd1952ab1
1 changed files with 24 additions and 15 deletions
39
js/fx.js
39
js/fx.js
|
@ -1,25 +1,34 @@
|
|||
//Pageload animations.
|
||||
$(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);
|
||||
|
||||
$("#intro_blurb").delay(3300).fadeIn(1100);
|
||||
$("#callmemaybe").delay(3300).fadeIn(1100);
|
||||
/*
|
||||
* 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);
|
||||
|
||||
//Expanding sections.
|
||||
/* $(".menu_title").click(function() {
|
||||
$(this).parent().find(".menu_contents").toggle();
|
||||
});*/
|
||||
});
|
||||
|
||||
//Click event handlers.
|
||||
|
||||
/*
|
||||
* 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).load('/blogging/');
|
||||
})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue