mirror of
https://github.com/TotalFreedomMC/Website.git
synced 2024-12-22 16:25:12 +00:00
commit
7c98a04b50
1 changed files with 9 additions and 1 deletions
10
js/index.js
10
js/index.js
|
@ -83,6 +83,14 @@ $(document).ready(function() {
|
|||
$(".nine i").toggleClass("fa-chevron-right");
|
||||
$(".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';
|
||||
};
|
||||
|
||||
window.addEventListener('scroll', parallax);
|
||||
window.addEventListener('scroll', parallax);
|
||||
|
|
Loading…
Reference in a new issue