-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
58 lines (52 loc) · 1.74 KB
/
index.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
function showAbout() {
$("#about_container").css("display", "inherit");
$("#about_container").addClass("animated slideInLeft");
setTimeout(function () {
$("#about_container").removeClass("animated slideInLeft");
}, 800);
}
function closeAbout() {
$("#about_container").addClass("animated slideOutLeft");
setTimeout(function () {
$("#about_container").removeClass("animated slideOutLeft");
$("#about_container").css("display", "none");
}, 800);
}
function showWork() {
$("#work_container").css("display", "inherit");
$("#work_container").addClass("animated slideInRight");
setTimeout(function () {
$("#work_container").removeClass("animated slideInRight");
}, 800);
}
function closeWork() {
$("#work_container").addClass("animated slideOutRight");
setTimeout(function () {
$("#work_container").removeClass("animated slideOutRight");
$("#work_container").css("display", "none");
}, 800);
}
function showSkills() {
$("#skills_container").css("display", "inherit");
$("#skills_container").addClass("animated slideInUp");
setTimeout(function () {
$("#skills_container").removeClass("animated slideInUp");
}, 800);
}
function closeSkills() {
$("#skills_container").addClass("animated slideOutDown");
setTimeout(function () {
$("#skills_container").removeClass("animated slideOutDown");
$("#skills_container").css("display", "none");
}, 800);
}
setTimeout(function () {
$("#loading").addClass("animated fadeOut");
setTimeout(function () {
$("#loading").removeClass("animated fadeOut");
$("#loading").css("display", "none");
$("#about").removeClass("animated fadeIn");
$("#work").removeClass("animated fadeIn");
$("#skills").removeClass("animated fadeIn");
}, 300);
}, 500);