mirror of
https://github.com/TotalFreedomMC/Website.git
synced 2024-12-22 08:15:14 +00:00
Update index.js
This commit is contained in:
parent
c672622bfa
commit
09dc7283ed
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