-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain-jquery.js
65 lines (53 loc) · 1.54 KB
/
main-jquery.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*Animations and the like*/
/*Rotate the arrow when clicked - solution edited from:*/
//https://stackoverflow.com/questions/41412764/rotate-an-image-180-degrees-on-click-with-jquery-with-animation/41412775
$(document).ready(function() {
$(".toggle23").click(function() {
$(".bttn23").toggleClass('closedBttn23');
});
});
$(document).ready(function() {
$(".toggle22").click(function() {
$(".bttn22").toggleClass('closedBttn22');
});
});
$(document).ready(function() {
$(".toggle21").click(function() {
$(".bttn21").toggleClass('closedBttn21');
});
});
$(document).ready(function() {
$(".toggle7").click(function() {
$(".bttn20").toggleClass('closedBttn7');
});
});
$(document).ready(function() {
$(".toggle1").click(function() {
$(".bttn19").toggleClass('closedBttn1');
});
});
$(document).ready(function() {
$(".toggle2").click(function() {
$(".bttn18").toggleClass('closedBttn2');
});
});
$(document).ready(function() {
$(".toggle3").click(function() {
$(".bttn17").toggleClass('closedBttn3');
});
});
$(document).ready(function() {
$(".toggle4").click(function() {
$(".bttn16").toggleClass('closedBttn4');
});
});
$(document).ready(function() {
$(".toggle5").click(function() {
$(".bttn15").toggleClass('closedBttn5');
});
});
$(document).ready(function() {
$(".toggle6").click(function() {
$(".bttn14").toggleClass('closedBttn6');
});
});