-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js
53 lines (53 loc) · 1.77 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
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 showcontact() {
$("#contact_container").css("display", "inherit");
$("#contact_container").addClass("animated slideInUp");
setTimeout(function() {
$("#contact_container").removeClass("animated slideInUp");
}, 800);
}
function closecontact() {
$("#contact_container").addClass("animated slideOutDown");
setTimeout(function() {
$("#contact_container").removeClass("animated slideOutDown");
$("#contact_container").css("display", "none");
}, 800);
}
setTimeout(function() {
$("#loading").addClass("animated fadeOut");
setTimeout(function() {
$("#loading").removeClass("animated fadeOut");
$("#loading").css("display", "none");
$("#box").css("display", "none");
$("#about").removeClass("animated fadeIn");
$("#contact").removeClass("animated fadeIn");
$("#work").removeClass("animated fadeIn");
}, 1000);
}, 1500);