Update index.js

This commit is contained in:
Quanttum 2017-06-26 10:18:04 -04:00 committed by GitHub
parent c672622bfa
commit 09dc7283ed

View file

@ -83,6 +83,14 @@ $(document).ready(function() {
$(".nine i").toggleClass("fa-chevron-right"); $(".nine i").toggleClass("fa-chevron-right");
$(".nine i").toggleClass("fa-chevron-down"); $(".nine i").toggleClass("fa-chevron-down");
}); });
$(".ten").click(function(){
$(".j").fadeToggle(300);
$(".ten j").toggleClass("fa-chevron-right");
$(".ten j").toggleClass("fa-chevron-down");
});
}); });
@ -119,4 +127,4 @@ function parallax() {
cover1.style.top = ypos * .4 + 'px'; cover1.style.top = ypos * .4 + 'px';
}; };
window.addEventListener('scroll', parallax); window.addEventListener('scroll', parallax);