Merge pull request #71 from quanttumcodes/patch-3

Index.js changes
This commit is contained in:
Aggelos Sarris 2017-06-28 02:44:42 +03:00 committed by GitHub
commit 7c98a04b50

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);