This commit is contained in:
Arjun Patel
2017-10-26 01:19:37 -07:00
parent cdc4748830
commit 8064506d63
4 changed files with 114 additions and 189 deletions
+10 -51
View File
@@ -11,6 +11,16 @@ $(document).ready( function() {
}); // end on doc ready
$('.getStarted').hover( function () {
$('#contact').css("color","black").fadeIn();
$('.getStarted').css({"height":"50px","background-image":"url(Images/phone.jpg)"}).fadeIn(500);
},
function () {
$('#contact').css("color","white").fadeIn();
$('.getStarted').css({"height":"50px","background-image":"url(Images/phoneEmail.jpg)"}).fadeIn(500);
});
$(window).on("load",function() {
$(".intro1").delay(800).fadeIn(400);
@@ -39,39 +49,12 @@ $(window).on("load",function() {
}).scroll(); //invoke scroll-handler on page-load
$('.skillsBanner').typeIt({
strings: ["System.out.println('Skills'):", "Skills"],
speed: 60,
breakLines: false,
autoStart: false
});
/*
$('.allskills').typeIt({
strings: ["1| if (language = html)", " 2|.....int level = 10", " 3| if (language = css)", " 4|.....int level = 9", " 5| if (language = javascript)", " 6|.....int level = 6", " 7| if (language = Java)", " 8|.....int level = 6", " 9| if (language = Android)", "10|.....int level = 9", "11| if (language = Node.js)", "12|.....int level = 4"],
speed: 10,
autoStart: false
}); */
$('.skillsSummary').typeIt({
strings: ["'Talks is cheap. Show me the code.'"],
speed: 20,
autoStart: false
});
$('.professionalSide1').typeIt({
strings: ["HTML ", " ", "CSS ", " ", "Javascript ", " ", "JQuery"],
speed: 20,
autoStart: false
});
$('.professionalSide2').typeIt({
strings: ["Java ", " ", "Android ", " ", "Node.js ", " ", "Arduino"],
speed: 20,
autoStart: false
});
//icons fade others when hovering over one
var elems = $('.icons');
elems.on('mouseenter mouseleave', function(e) {
@@ -80,28 +63,4 @@ $(window).on("load",function() {
//phone div hover
$('.phone').hover( function() {
$(this).fadeTo( "medium", 1 );
$('.phoneText').css("color", "black");
$('.phoneText').html("(949)923-0445");
}, function() {
$(this).fadeTo( "fast", .6 );
$('.phoneText').css("color", "#069ea0");
$('.phoneText').html("phone");
});
//email hover
$('.email').hover( function() {
$(this).fadeTo( "medium", 1 );
$('.emailText').css("color", "white");
$('.emailText').html("[email protected]");
}, function() {
$(this).fadeTo( "fast", .6 );
$('.emailText').css("color", "#069ea0");
$('.emailText').html("email");
});
}); // end on Window ready