-
Notifications
You must be signed in to change notification settings - Fork 0
/
scrollMode-app.js
93 lines (86 loc) · 2.28 KB
/
scrollMode-app.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
$(document).ready(function () {
$(".owl-carousel").owlCarousel();
});
$('.aboutMe-collapse').on('click', function (e) {
$('.aboutMe-body').fadeToggle('slow')
e.preventDefault()
})
$('.mySpecialties-collapse').on('click', function (e) {
$('.specialties-parent').fadeToggle('slow')
e.preventDefault()
})
$('.career-collapse').on('click', function (e) {
$('.career-parent').fadeToggle('slow')
e.preventDefault()
})
$('.awards-collapse').on('click', function (e) {
$('.awards-parent').fadeToggle('slow')
e.preventDefault()
})
$('.activites-collapse').on('click', function (e) {
$('.myActivities-parent').fadeToggle('slow')
e.preventDefault()
})
$('.gallery-collapse').on('click', function (e) {
$('.gallery-parent').fadeToggle('slow')
e.preventDefault()
})
// tippy('[data-tippy-content]');
// tippy('#file-person', {
// content: 'ABOUT ME',
// placement: 'right',
// animation: 'fade',
// });
// tippy('#graph-up-arrow', {
// content: 'CAREER',
// placement: 'right',
// animation: 'fade',
// });
tippy('#TwitHeader', {
content: 'Twitter',
placement: 'bottom',
animation: 'fade',
});
tippy('#InstaHeader', {
content: 'Instagram',
placement: 'bottom',
animation: 'fade',
});
tippy('#FaceHeader', {
content: 'Facebook',
placement: 'bottom',
animation: 'fade',
});
tippy('#twitfooter', {
content: 'Twitter',
placement: 'top',
animation: 'fade',
});
tippy('#instafooter', {
content: 'Instagram',
placement: 'top',
animation: 'fade',
});
tippy('#facefooter', {
content: 'Facebook',
placement: 'top',
animation: 'fade',
});
$('#movies-toggle').on('click', function (e) {
$('.movies-table').toggle('fast', 'swing')
$('.videoGameTable').hide('fast', 'swing')
$('.musicVideosTable').hide('fast', 'swing')
e.preventDefault()
})
$('#video-games-toggle').on('click', function (e) {
$('.videoGameTable').toggle('fast', 'swing')
$('.movies-table').hide('fast', 'swing')
$('.musicVideosTable').hide('fast', 'swing')
e.preventDefault()
})
$('#music-videos-toggle').on('click', function (e) {
$('.musicVideosTable').toggle('fast', 'swing')
$('.videoGameTable').hide('fast', 'swing')
$('.movies-table').hide('fast', 'swing')
e.preventDefault()
})